Support unidling scalable apps

Use a broker REST call to start the entire app up during unidle
rather than a local gear start.

Adjust the 'scale' auth scope to include explicit state changes.
This allows the node to start the app via the broker API, and is
consistent with the previous scope in that it already includes
scaling (which itself involves an implicit state change).

Resolve bug: https://bugzilla.redhat.com/show_bug.cgi?id=1093776
Update JBoss cart specs for new metrics location

Add dependency on jboss-openshift-metrics-module to the jbossas and
jbosseap cartridges.

Create symlinks in /etc/alternatives/{jbossas-7,jbosseap-6} that point
to the shared JBoss metrics module location.
Bug 1093804: Validating the node returned by the gear-placement plugin
Bug 1093505: Ruby mirror URLs corrected to https://mirror.openshift.com/
Merge pull request #5366 from abhgupta/abhgupta-scheduler

Merged by openshift-bot
Merge pull request #5375 from ironcladlou/scalable-unidling

Merged by openshift-bot
Merge pull request #5376 from nhr/bug_1093505

Merged by openshift-bot
Merge pull request #5372 from ncdc/jboss-metrics-deps

Merged by openshift-bot
Bug 1092635 - Assume zero-byte dump file is quota error and report
Merge pull request #5377 from jwhonce/bug/1092635

Merged by openshift-bot
Bug 1052302: Add windowMemory setting for git repos.
Bug 1083197 - remove NULL's from environment variables
Merge pull request #5379 from mrunalp/bug/1052302

Merged by openshift-bot
Merge pull request #5380 from jwhonce/bug/1093197

Merged by openshift-bot
php cart: dynamic, controllable php.d seeding

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

Scan the cart-provided and system `php.d` directories to determine what
php modules are available, and enable them by copying them into the
deployed cartridge's `php.d` directory.

Allow users to enable or disable php modules by setting
`OPENSHIFT_PHP_{MODULENAME}_ENABLE=true/false`

squashed commit: php_module_scan: unbound variable dependency

Obtain PHP version from ident variable `OPENSHIFT_PHP_IDENT`

`php_module_scan` function `scan_php_modules` depended on
`OPENSHIFT_PHP_VERSION` being set, but this isn't necessarily going to
be the case.

Amended `cartridge-lifecycle-php.feature` tests to include checks for
enable/disable PHP module via user env var

Added needed step to `cartridge-php_steps.rb`
php cartridge: remove php .ini locked-* prefix

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

Since these files will no longer be "locked" it doesn't make sense for
them to be prefixed with `locked-`. This involves minor logic tweaks to
the `control` and `php_module_scan` scripts.
rename `scan_php_modules` to `scan_for_php_modules`
made `testcmd` var local