Merge branch 'services-r6' into services-r7

Conflicts:
	services

Change-Id: I3596f89c0331eecf3269951a5ec350f9a97da16b
Add filesystem service

Change-Id: I285a5ae58b0864f9468b354821b8277349316253
Merge branch 'master' into services-r7

Change-Id: I51386d212abe282ee64812b30ebcaccd8ccdbca7
Merge branch 'services-r7' into fileservice

Change-Id: Ie7e02d2f54eb8047dada15035af4f76fe6c14356
Add service life cycle api support

 - snapshot apis
 - serialized apis

Change-Id: Ia8ebaeb323899e732904a9f9289a540a6ba8cff0
Merge branch 'fileservice' into services-r7

Change-Id: I2467788d9b021a2ae554857e27f667a6ed75aea2
Merge branch 'master' into r7-master-merge

Change-Id: Iea5f982009172ce894ce3dc02a32df0c1bda05b2
Move vcap/lib to vcap/common

Change-Id: Ic17db70f75e8b0ec5f3c8820cf3689520d49656b
First pass for router v2 implementation. The init version of router v2 is done by
Jun Xiao, polished by Anfernee with a couple of bug fixes and enhancement.

router v2 decouples control and data path to some extent, it's a logic router
including both nginx and uls (upstream location server) parts.

uls (aka control plane) is based on legacy router:
- all communications with nats are kept the same as before
- client facing interface (actually connected to nginx) is simplified to
  handle the location query/stats update from nginx only.
- the original app facing interface is totally removed.

nginx (aka data plane)
- package lua in nginx so most functionalities can be implemented with it.
- for each request, nginx will generate a subrequest (to fit in nginx
  single thread event model) which carries location query/stats info to uls,
  the response of the subrequest will return backend addr and also an
  opaque tags (only known by uls), and the corresponding main request will
  also be awaked and routed to the backend server, when a response from backend
  is returned back, the counter associated with the particular opaque tags
  will be incremented accoring to the response code. The next incoming
  request will always help to carry not-synced stats to uls along with
  its location query.
- sticky session and trace header are also implemented here,
  also their key related config are moved to nginx part.

testing
- "rake spec" will only test uls, while "rake test" will run both unit test and
  integration test with nginx
- integration test requires nginx with lua module installed running

Change-Id: I9b25b24c449b0421754e541ab5ba60a00c551da9
Add ci-reporter task to generate test reports in junit xml format

Change-Id: Idd2c7cd9c0fc44aa3786d7e2f6aa140c1102a8ae
Add ci-reporter task to generate test reports in junit xml format

Change-Id: Idd2c7cd9c0fc44aa3786d7e2f6aa140c1102a8ae
Make router ULS server a sinatra app. Remove client_connections from varz.
Remove keep-alive from nginx's subrequest to ULS.

Change-Id: I89a3b6a59ffba37d25f7f238cbec5ad7793645f8
Add healthz authentication header back for http-monitor

Change-Id: I2c3759d96fa99872d4916e91c5f7764a3f9dc402
Add redis worker binary for lifecycle

Change-Id: I3f0ce7c316222c07aa4906b6385d29f6caf8a08b
Add binary pointer for mongodb worker

Change-Id: I67fd58d0289684818519e99c65470f3fbc6da51c
Merge branch 'master' into services-r7

Conflicts:
	cloud_controller/Rakefile

Change-Id: I1de97fe409ad2a1194edf345d928cc9f72507af9
Rebuild vcap_common gem

Change-Id: I5eacb758098fa9d81aab8de5aa06b27d5b1ae036
Merge "Merge branch 'master' into services-r7" into services-r7
Fix nginx config in dev_setup to support router trace

Change-Id: I165efebd84e0d066ea70c14f8caeddca4f56c42b
Merge "Rebuild vcap_common gem" into services-r7