Use OPENSHIFT_*_DIR in standalone.conf

In the JBoss cartridges' standalone.conf file, use OPENSHIFT_JBOSSAS_DIR
or OPENSHIFT_JBOSSEAP_DIR as appropriate to set the value of CART_DIR.
Fix for bug 989650, bug 988115, and added additional check in oo-admin-chk
Fix bug 981584: skip restore for secondary gear group in scalable app if there is no appropriate snapshot
Bug 989863

Display MySQL admin name and password for phpMyAdmin
Bug 990090
Bug 989831 - Fix incorrect variable.
Bug 989765 - Fix output when old jboss not present in alternatives

https://bugzilla.redhat.com/show_bug.cgi?id=989765

alternatives --remove sends output to stderr if the requested
alternative to be removed doesn't exist.  Test for existence of
alternative before trying to remove it.

Also, if uninstall, cleanup the jbossas-7 alternative
Merge pull request #3213 from abhgupta/abhgupta-scheduler

Merged by openshift-bot
Merge pull request #3222 from pmorie/bugs/981584

Merged by openshift-bot
Merge pull request #3224 from danmcp/master

Merged by openshift-bot
Automatic commit of package [rubygem-openshift-origin-msg-broker-mcollective] release [1.12.5-1].
Automatic commit of package [rubygem-openshift-origin-node] release [1.12.5-1].
Automatic commit of package [openshift-origin-cartridge-haproxy] release [0.7.5-1].
Automatic commit of package [openshift-origin-broker-util] release [1.12.5-1].
Automatic commit of package [rubygem-openshift-origin-auth-remote-user] release [1.12.3-1].
Automatic commit of package [openshift-origin-node-util] release [1.12.5-1].
Automatic commit of package [rubygem-openshift-origin-controller] release [1.12.5-1].
Automatic commit of package [openshift-origin-msg-node-mcollective] release [1.12.4-1].
Fail gracefully when 'mysql' is not present
oo-admin-ctl-user shouldn't be setting allowed_gear_sizes on domain yet