The mutex needs to be a global that is instantiated early in order to work in all contexts.
Add support to pam enable/disable command to run across all gears.
Merge pull request #3077 from rmillner/cgfixes

Merged by openshift-bot
Automatic commit of package [openshift-origin-cartridge-jbossews] release [0.7.1-1].
Automatic commit of package [rubygem-openshift-origin-msg-broker-mcollective] release [1.12.1-1].
Automatic commit of package [openshift-origin-cartridge-10gen-mms-agent] release [1.26.1-1].
Automatic commit of package [openshift-origin-cartridge-cron] release [1.10.1-1].
Automatic commit of package [rubygem-openshift-origin-node] release [1.12.1-1].
Automatic commit of package [openshift-origin-cartridge-mysql] release [0.6.1-1].
Automatic commit of package [openshift-origin-cartridge-nodejs] release [1.13.1-1].
Automatic commit of package [openshift-origin-cartridge-haproxy] release [0.7.1-1].
Automatic commit of package [openshift-origin-broker-util] release [1.12.1-1].
Automatic commit of package [rubygem-openshift-origin-common] release [1.12.1-1].
Automatic commit of package [openshift-origin-cartridge-postgresql] release [0.5.1-1].
Automatic commit of package [rubygem-openshift-origin-auth-remote-user] release [1.12.1-1].
Automatic commit of package [openshift-origin-cartridge-jbossas] release [1.5.1-1].
Automatic commit of package [openshift-origin-cartridge-ruby] release [0.7.1-1].
Automatic commit of package [openshift-origin-cartridge-php] release [0.7.1-1].
Automatic commit of package [openshift-origin-cartridge-diy] release [0.7.1-1].
Automatic commit of package [openshift-origin-node-util] release [1.12.1-1].