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
Bug 980376
Bug 982921
Add template and throttler support to cgroups
Separate out libcgroup based functionality and add configurable templates.
Reworked throttler code to work with new cgroups
Cgroup module unit tests and bug fixes.
Make throttling values configurable, and fixes.
Origin uses single quotes in config files.
Use oo_spawn to run grep in throttler