Kill out-of-memory gears more aggressively to reduce downtime

This change does a few things differently:

* Make multiple attempts when reading or writing cgroup
  data, to get around lock contention.  Also, handle
  exceptions better in this process

* Avoid calling force stop on the gear, because this
  involves other possible locking problems, and almost
  never works on an OOM gear, even when we bump the memory
  limit.  This also eliminates the time window between
  stopped and started states where someone/something could
  execute a conflicting state change.

* Send kill signals before we bump memory, so that the
  existing processes should immediately start cleaning
  up when the memory limit is bumped, without doing
  anything else like accepting more connections.
Clean up & unify upgrade scripts

- Remove all unversioned upgrade steps
- Strictly compare versions as strings, fix regexps
- Unify variables across upgrade scripts
Fix formatting
bz1162474
if app_name different with app.name of uuid, throw out an warning
Automatic commit of package [rubygem-openshift-origin-node] release [1.32.1-1].
Automatic commit of package [openshift-origin-cartridge-haproxy] release [1.28.1-1].
Automatic commit of package [rubygem-openshift-origin-frontend-apache-mod-rewrite] release [0.8.1-1].
Automatic commit of package [openshift-origin-cartridge-jbosseap] release [2.22.1-1].
Automatic commit of package [openshift-origin-cartridge-jbossews] release [1.30.1-1].
Automatic commit of package [openshift-origin-cartridge-postgresql] release [1.30.1-1].
Automatic commit of package [rubygem-openshift-origin-admin-console] release [1.27.1-1].
Automatic commit of package [rubygem-openshift-origin-frontend-haproxy-sni-proxy] release [0.4.2-1].
Automatic commit of package [openshift-origin-cartridge-jenkins] release [1.26.1-1].
Automatic commit of package [rubygem-openshift-origin-routing-activemq] release [0.7.1-1].
Automatic commit of package [pam_openshift] release [1.13.1-1].
Automatic commit of package [rubygem-openshift-origin-msg-broker-mcollective] release [1.31.1-1].
Automatic commit of package [openshift-origin-msg-node-mcollective] release [1.28.1-1].
Automatic commit of package [openshift-origin-cartridge-mongodb] release [1.24.1-1].
Automatic commit of package [openshift-origin-cartridge-python] release [1.30.1-1].
Automatic commit of package [rubygem-openshift-origin-controller] release [1.32.1-1].