Bug 992464 - Authorization token needs to raise when checking eventual consistency

Was using .first which returns nil
* 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
Use marker_present for conformity
Bug 994922

Warn user of supervisor control when we detect 'hot_deploy' marker.

When the hot_deploy marker is present, stop nor start is invoked, so
we need to check the presence of the marker in a different way.

Notice that the first time we push 'hot_deploy' marker, the stop cycle
will not warn that it detected the marker (because it doesn't exist on
the gear).
oo-accept-node: Simplify find_ext_net_dev

The node runtime simply defaults to eth0 if EXTERNAL_ETH_DEV is not set,
so make oo-accept-node do the same for consistency.
oo-accept-node: Use OpenShift::Config

Use OpenShift::Config to load and parse node.conf and resource_limits.conf
for consistency with the node runtime.

Use OpenShift::Config::NODE_CONF_FILE instead of defining NODE_CONF_FILE in
oo-accept-node.

Use the new globals $CONF and $RESOURCE_LIMITS instead of ENV for storing
the settings read from node.conf and resource_limits.conf.
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
Fix typo
Follow up fix for Bug 970150

It turns out that 6400c02 wasn't really working.
The inner `if` clause, `$?` is `0` no matter what the result from
the app name check, so that any app name would fail for Rails.

This fixes that.
Merge pull request #3340 from BanzaiMan/dev/hasari/bz970150

Merged by openshift-bot
Default to test mode membership off

* Fix all test cases in both modes
* Fix test case breakage caused by console rest api changes
Automatic commit of package [rubygem-openshift-origin-node] release [1.13.3-1].
Automatic commit of package [openshift-origin-cartridge-ruby] release [0.8.2-1].
Automatic commit of package [openshift-origin-node-util] release [1.13.3-1].