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
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 988740 - admin console routing error on empty search query
Bug 988733 - admin console page headers overflow
Fix bug 988949: make upgrade checks run exclusively when enabled
Bug 988740 - code review fixes
Bug 982921
Merge pull request #3185 from jwforres/bug_988733_admin_console_headers_overflow

Merged by openshift-bot
Merge pull request #3187 from pmorie/bugs/988949

Merged by openshift-bot