Fix bug 1055653: handle exceptions from RestClient
Bug 1005123

Move deletion of checksum file for Gemfile.lock from pre-repo-archive to
build because pre-repo-archive isn't invoked when using a builder
cartridge, meaning that force_clean_build wouldn't always be respected.

Update the checksum file if it changes, so future checksum comparisons
will evaluate correctly.
Fix bug 1055906: Add http:// to cartridge url if no scheme provided
Merge pull request #4571 from pmorie/bugs/1055653

Merged by openshift-bot
Automatic commit of package [openshift-origin-cartridge-jenkins-client] release [1.17.7-1].
Automatic commit of package [rubygem-openshift-origin-node] release [1.19.15-1].
Automatic commit of package [openshift-origin-cartridge-haproxy] release [1.19.7-1].
Automatic commit of package [openshift-origin-cartridge-jbosseap] release [2.12.8-1].
Automatic commit of package [openshift-origin-cartridge-jbossews] release [1.18.6-1].
Automatic commit of package [openshift-origin-cartridge-postgresql] release [1.19.5-1].
Automatic commit of package [openshift-origin-cartridge-jenkins] release [1.16.5-1].
Automatic commit of package [openshift-origin-cartridge-mysql] release [1.19.7-1].
Automatic commit of package [rubygem-openshift-origin-msg-broker-mcollective] release [1.19.12-1].
Automatic commit of package [openshift-origin-msg-node-mcollective] release [1.19.8-1].
Automatic commit of package [openshift-origin-cartridge-php] release [1.19.8-1].
Automatic commit of package [openshift-origin-cartridge-python] release [1.19.8-1].
Automatic commit of package [rubygem-openshift-origin-controller] release [1.19.15-1].
Automatic commit of package [rubygem-openshift-origin-console] release [1.19.12-1].
Automatic commit of package [openshift-origin-cartridge-jbossas] release [1.19.8-1].
Automatic commit of package [openshift-origin-cartridge-diy] release [1.17.3-1].