Access all git dependencies using https

git:// URIs can be problematic as the port used by the git protocol
(9418) is often blocked for outbound connections by a firewall. The
Gemfile was using a mixture of git:// and https:// URIs for its
Git-based dependencies. This commit makes them all use https.
Use https:// rather than git:// for submodules

To avoid problems with the git protocol's port being blocked by a
firewall, use https URIs for submodules
Make symmetric_secret an optional config property.

The token validation logic in uaa_util.rb decides whether
to use symmetric or asymmetric key validation base on whether
this property is set. Without this change the CC won't start
unless it is set, hence it won't work with a UAA which is
configured to use an RSA key signature.
fixed typo when download staged app without nginx
use client_id when user_id is missing from token
Merge pull request #30 from cloudfoundry/allow_client_id

use client_id when user_id is missing from token
Merge pull request #29 from tekul/master

Make symmetric_secret an optional config property.
Merge pull request #27 from wilkinsona/https-submodules

Use https:// rather than git:// for submodules
Merge pull request #26 from wilkinsona/git-dependencies

Access all git dependencies using https
Allow finding stacks by name
Correct Gemfile.lock
Fix integration test.

- Polled the startup of CCNG for quicker startup instead of unnecessary sleep
- Coped with NATS not killing itself properly