Defensively handling job URIs from cloud controller.

Signed-off-by: Phan Le <ple@pivotallabs.com>
Whitelist syslog_drain_url so that it appears in VCAP_SERVICES

[#60281112]
Merge pull request #80 from cloudfoundry/whitelist-syslog-drain-url

Whitelist syslog_drain_url so that it appears in VCAP_SERVICES
Respond with droplet.exited when not enough resources available

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Check available resources before staging task

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Start instance only after staging upload succeeds

Signed-off-by: Maria Shaldibina <mariash@pivotallabs.com>
Add support for Windows with .NET Warden.