remote-user: Fix .conf migration in %post

If the remote-user auth plug-in is installed but is not enabled at the
time of an upgrade, its httpd configuration file may not be present.  In
order to avoid causing an error during a package upgrade, only modify
the file if it is present.
Bug 971586

Set up cron's PATH to use primary cartridge's *_PATH_ELEMENT so that
cron can use the cartridge's executables.
Mimic rhcsh logic more closely

Ensure the primary cartridge's *_PATH_ELEMENT wins
openshift_facts.rb: sort cart_list
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.
oo-accept-broker: check httpd_execmem

Add httpd_execmem to the list of Booleans that check_selinux_booleans
checks.
Support running broker tests directly
Force scopes to use checked ids and avoid symbolizing arbitrary strings
Use .present? instead of .count > 0 (for performance)
Handle ValidationExceptions globally
Support LIST_DOMAINS_BY_OWNER, SHOW_DOMAIN, and SHOW_APPLICATION_BY_DOMAIN
Simplify capabilities to be more model like, and support clean proxying of inherited properties
Return creation_time on domains
move_gear: drop outdated rollback code

Don't call the remove-httpd-proxy hook when rolling back a failed
move_gear operation in MCollectiveApplicationContainerProxy.

The remove-httpd-proxy hook was removed from the v2 cartridge model, so
calling the hook results in calling an undefined method in the cartridge
model when v2 cartridges are used.  Furthermore, the platform now takes
care of configuring the port proxy, so it is no longer necessary for
move_gear to invoke remove-httpd-proxy.  Commit
7d458f76116a0b72b651155d1178ad3d70398104 already dropped the call in
move_gear to the "move" hook, which invoked the deploy-httpd-proxy hook,
which is also handled by the platform now.

This commit fixes Bug 987218.
WebMock causes errors in Net::HTTP::Persistent, disable except when needed
Merge remote-tracking branch 'origin/master' into changes_for_membership

Conflicts:
	controller/app/controllers/api_controller.rb
	controller/app/controllers/domains_controller.rb
	controller/app/rest_models/rest_domain.rb
	controller/lib/openshift/controller/api_responses.rb
Merge remote-tracking branch 'origin/master' into changes_for_membership
Typo during merge
Merge remote-tracking branch 'origin/master' into changes_for_membership
Bug 980376
Bug 982921
Add template and throttler support to cgroups
Separate out libcgroup based functionality and add configurable templates.