Added support for specifying custom fields in /v2/info endpoint.
Escape semi-colons so they can be searched.

JIRA: https://activestate.atlassian.net/browse/STO-670
Bugzilla: https://bugs.activestate.com/show_bug.cgi?id=104026

CC Github issue: https://github.com/cloudfoundry/cloud_controller_ng/issues/258
Pivotal tracker: https://www.pivotaltracker.com/story/show/72931502
Follow rubucop-enfored style guide
Use unique names to avoid the collision with query_spec.rb
Update the unit test for semicolons in queries to use a sqlite db and full string matches.
rename loggregator_endpoint to metron_endpoint

[#74960322]
Refactor space summary to use bulk api from hm9k

- Refactor away from instances_reporter_factory to
  composite_instances_reporter
- Modify space_summaries_controller to use bulk api
- Chunk max app requests from CC to HM to avoid NATS message limits
- Return -1 instead of 0 when an error occurs
- Stub bulk api availability check until hm9k support is available

[#69738916]

Signed-off-by: Julian Friedman <julz.friedman@uk.ibm.com>
Add api endpoint for killing a specific application instance

* DELETE to /v2/app/:guid/instances/:index where index is the index
  of the instance you wish to kill, 0 indexed.
* Update api documentation for application end points

[#72353100]
Run unit specs before integration and api specs
Merge remote-tracking branch 'origin/pr/228'

Conflicts:
	spec/controllers/runtime/info_controller_spec.rb
Merge remote-tracking branch 'origin/pr/259'
Merge remote-tracking branch 'origin/pr/273'
Add code coverage for code climate

[#70097864]
return a pleasant error when diego is unavailable

[#74426166]

Signed-off-by: Simon Leung <leungs@us.ibm.com>
Fix typo in travis.yml
introduce app diego flag to app model

this is set iff the CF_DIEGO_RUN_BETA environment variable is set, and is not
exposed through the API. this allows us to perform more efficient queries in
the new bulk apps endpoint (where we only want to include diego apps).

Signed-off-by: Simon Leung <leungs@us.ibm.com>
don't blow up if the diego column goes away when saving the app

...as will happen some time in the future.

Signed-off-by: Simon Leung <leungs@us.ibm.com>
only include diego apps in the new bulk endpoint

Signed-off-by: Simon Leung <leungs@us.ibm.com>