Ignore hot_deploy for initial from-code build

Make sure local gear is started and in rotation when an initial build
git repository happens to have a hot deploy marker in it.

Bug 1023305
Merge pull request #3992 from ncdc/bz1023305

Merged by openshift-bot
Binary deployment improvements

Stop gear at beginning of binary deployment because the prepare step
extracts into the runtime dirs, which will affect the running app.

Add cleaning of repo dir in addition to the dependencies dirs prior to
extracting a binary artifact into the runtime dir.
Automatic commit of package [openshift-origin-cartridge-jbossews] release [1.16.2-1].
Automatic commit of package [rubygem-openshift-origin-node] release [1.16.6-1].
Automatic commit of package [rubygem-openshift-origin-frontend-apache-mod-rewrite] release [0.2.2-1].
Automatic commit of package [openshift-origin-cartridge-nodejs] release [1.17.3-1].
Automatic commit of package [openshift-origin-broker-util] release [1.16.4-1].
Automatic commit of package [rubygem-openshift-origin-auth-remote-user] release [1.16.2-1].
Automatic commit of package [openshift-origin-cartridge-jbossas] release [1.16.3-1].
Automatic commit of package [rubygem-openshift-origin-controller] release [1.16.5-1].
Automatic commit of package [rubygem-openshift-origin-console] release [1.16.5-1].
Automatic commit of package [openshift-origin-cartridge-jbosseap] release [2.10.3-1].
Merge pull request #3995 from ncdc/binary-prepare-clean-repo

Merged by openshift-bot