Add default value for maximum_app_disk

We want to decouple dependency of cloud controller on cf-release. So
there should be a reasonable default value in CC.

[#64174044]

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Move DB queries outsize .varz.synchronize
Use model class instead of Sequel::DATABASE to access Delayed::Job
Cleanup for clarity
Default to updating User count every 10 minutes
Rename for clarity / consistency
Remove unecessary class/module names for method calls

  * add helper method for VCAP::CloudController::Config.config
Collapse block style for clarity
Rename for consistency
Remove configurability of varz update frequency

Signed-off-by: Matthew Kocher <mkocher@pivotallabs.com>
Add units to maximum_app_disk

Signed-off-by: Matthew Kocher <mkocher@pivotallabs.com>
Test EM timer intervals

Signed-off-by: Matthew Kocher <mkocher@pivotallabs.com>
Fix quotes

Signed-off-by: Matthew Kocher <mkocher@pivotallabs.com>
Integration test only checks that /varz works

  * unit tests conver /varz data

Signed-off-by: Matthew Kocher <mkocher@pivotallabs.com>
Remove unused config values

Signed-off-by: Matthew Kocher <mkocher@pivotallabs.com>
Remove redundant config and spec let()s

Signed-off-by: Matthew Kocher <mkocher@pivotallabs.com>
remove Rack::Timeout

killing threads willy nilly is not safe

Signed-off-by: Eric Malm <emalm@pivotallabs.com>