Add dummy app file for rebar.
Create also intermediate directories when pushing repository to remote directory.
Checkout latest revision on build host when building initial release.

Use build hosts as deliver hosts and build user as deliver user
for remote operations.
Generate release on remote build host.
Do not fail if rebar delete-deps fail, e.g. if there are no deps initially.