Use app_BRANCH env var as GitHub branch to deploy on Heroku

It defaults to master if env var does not exist.
Also fix use of branch to monitor on GitHub push (does not work for me to use params["payload"] => nil)
We need to default to `master` here since step 7 is optional. Should be enough with `ENV.fetch("#{app}_BRANCH", "master")`