Upgrade the CC to use the latest uaa gem

Additionally, fix some code to get the CC to download the public
key correctly when it is available.

The UAA has changed some endpoint names to be in line with a spec
it implements, and we have modified how some parameters are passed
to one token request to be more consistent. The gem currently in
the CC makes the old calls (which the UAA still supports), but
we'd like to drop the backward compatibility code.

Change-Id: I262b0432ffc1432b4f0d44949075d187b2d535d5
Don't subscribe when number of messages to receive is 0

Change-Id: I87a10f96a09dec7c9512fdd7b768a392e87a9633
Merge "Upgrade the CC to use the latest uaa gem"
Fixed a couple of log messages

Change-Id: Ie53ef106537b4eb98d40143aeb61a907c50edeec
Fix the use of deprecated api

Remove the token expiration check. It was not being invoked, the
retry logic is already effective and is better anyway

Change-Id: Ia24936d19f5ae805c5c45ecaf7ebe9b20c212576
Bump em-hiredis/hiredis

Includes fix to allow hiredis to be installed on OS/X
https://github.com/mloughran/em-hiredis/issues/15

Change-Id: Iacdac337ba9da2dec19038d598da4ec0a5d84bc1
Fixed the method call to create a user in the UAA

Change-Id: Ie241fd92ce7a29f75edc2f837fb6de4d1a706113
Merge "Fixed the method call to create a user in the UAA"
Always define AppConfig to get the nice error

NOTE: Config file may exist but running user may not
have access to it.

Change-Id: I1b46a08880821b9aaa02085447057bd34605a73f
disable xml parsing

Change-Id: I7abdd7c46f7be87edb68ba18b80f4dd754ad8080
Enforce token signature policy.

Change-Id: I2f1da05ddf5a6e215e6049eb8d88b839f4ce8e52
bump rspec to 2.12.0

Change-Id: I3ec7fb9a22b9ed8fee8d0694babda3b61d98bc04
bump mocha to 0.13.2

Change-Id: I89137d06f9f90a93e9b09583e2630c453665062b
bump rails to 3.0.20

Fixes JSON vulnerability
(https://groups.google.com/forum/?fromgroups=#!topic/rubyonrails-security/1h2DR63ViGo)

Change-Id: I5d6a80cd7062a2022be1dd571ef41a035d34a454
remove legacy health manager

Change-Id: Ieef2b7b62fde9e450c57ee81c4e02d42f8094a13
Update LICENSE and NOTICE
Prevent 'core' provider being inserted in database

Change-Id: Ia0e940596345f05bbc950daebaa6539db2b1583f
Allow login server to adopt auth server role