compile_fw: Add repo_checkout and repo_prepare
These commands checkout OpenWRT repository with same commits as current build on repo.turris.cz. You have to specify target branch and board to make this work.
This should be quick review. It adds minimal functionality and does not touches original functionality. It only refactors some of the code so it can be reused in new function.