* Implement a membership model for OpenShift that allows an efficient query of user access based on each resource.
* Implement scope limitations that correspond to specific permissions
* Expose membership info via the REST API (disableable via config)
* Allow multiple domains per user, controlled via a configuration flag
* Support additional information per domain (application_count and gear_counts) to improve usability
* Let domains support the allowed_gear_sizes option, which limits the gear sizes available to apps in that domain
* Simplify domain update interactions - redundant validation removed, and behavior of responses differs slightly.
* Implement migration script to enable data
Ensure only users with ssh access are added with keys
Bug 995371 - Direct parameters to members were ignored

Members controller now accepts:
:members => [{:id, :role, :login}] as array of members
:member => {:id, :role, :login} as single member
:id, :role, :login => single member
Review - add comment to test
Review comments

* Display and test a unique error if app create gear sizes is empty
* Continue running deprecated jobs in Domain
Merge remote-tracking branch 'origin/master' into origin_ui_73_membership_model
Default to membership off in development mode
Catch more exceptions from broker

* Only rethrow 401 automaticall, add test cases to validate that
* Move the error handling to the core save method
Default to test mode membership off

* Fix all test cases in both modes
* Fix test case breakage caused by console rest api changes
Only schedule domain jobs on applications that actually need it
Check denormalization in oo-admin-chk
Merge pull request #3322 from smarterclayton/origin_ui_73_membership_model

Merged by openshift-bot