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
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
fix bz984481
Bug 988282 - admin console stats page histograms fail with no apps
Bug 980376
Bug 988740 - admin console routing error on empty search query
Bug 988733 - admin console page headers overflow
Merge pull request #3186 from nhr/updates

Fixes based on feedback from today
Fix bug 988949: make upgrade checks run exclusively when enabled
Merge pull request #3180 from rajatchopra/fix_bz984481

Merged by openshift-bot
Bug 988740 - code review fixes