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].
Add ~/.node_modules to dependency_dirs

Previously the symlink from ~/.node_modules to
app-root/runtime/dependencies/nodejs/node_modules was created in the
install script - move it to managed_files.yml so we don't need to do it
in bash.
Merge pull request #3995 from ncdc/binary-prepare-clean-repo

Merged by openshift-bot
Disallow 'gear deploy' if deployment type is binary

Bug 1023512
Merge pull request #3996 from ncdc/fix-nodejs-managed-files

Merged by openshift-bot
Merge pull request #4000 from ncdc/bz1023512

Merged by openshift-bot