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

Was using .first which returns nil
Ensure boosted gears are not throttled
Merge pull request #3328 from fotioslindiakos/Bug995550

Merged by openshift-bot
Bug 957442
Merge pull request #3330 from danmcp/master

Merged by openshift-bot
Bug 970150

Fail early during the build cycle if a Rails app name starts with a
numeral.

We should fail before we run `bundle install`, since it is completely
unnecessary if Rails can't run.

If the application is created with `--from-code`, the initial build will
fail, with error message like this:

```
Creating application '12345' ...
The initial build for the application failed: Shell command
'/sbin/runuser -s /bin/sh 80e4c0ea037a11e3962922000ab2046b -c "exec
/usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c0,c502' /bin/sh
-c \"gear
postreceive >> /tmp/initial-build.log 2>&1\""' returned an error. rc=255

.Last 10 kB of build output:
Stopping Ruby cart
httpd (no pid file) not running
Invalid Rails application name. Please delete this applicatin and
re-create it with a name which does not start with numbers
An error occurred executing 'gear postreceive' (exit code: 1)
Error message: Failed to execute: 'control pre-build' for
/var/lib/openshift/80e4c0ea037a11e3962922000ab2046b/ruby

For more details about the problem, try running the command again with
the '--trace' option.
```

If the application is created from a template Rack app, and updated via
`git pull -s recursive -X theirs`, the build will fail on the first
push:

```
remote: Stopping Ruby cart
remote: Waiting for stop to finish
remote: CLIENT_ERROR: Invalid Rails application name. Please delete this applicatin and re-create it with a name which does not start with
numbers
remote: An error occurred executing 'gear postreceive' (exit code: 1)
remote: Error message: Failed to execute: 'control pre-build' for /var/lib/openshift/520924b77b2a19115a000001/ruby
remote:
remote: For more details about the problem, try running the command again with the '--trace' option.
To ssh://520924b77b2a19115a000001@12345-fooooooooooo.dev.rhcloud.com/~/git/12345.git/
   9b5a31d..398f08a  master -> master
```
Bug 980820 - Ensure bogus PATH doesn't stop cartridge operations

* Missed setup/install calls
Use marker_present for conformity
Merge pull request #3331 from BanzaiMan/dev/hasari/bz970150

Merged by openshift-bot
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).
Merge pull request #3332 from jwhonce/bug/980820

Merged by openshift-bot
Node Platform - Update oo-get-quota for new interface
Merge pull request #3338 from jwhonce/wip/quota_check

Merged by openshift-bot
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
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].
Merge pull request #3334 from BanzaiMan/dev/hasari/bz994922

Merged by openshift-bot