Load DATABASE_URL env based on  vcap_services.json

Ruby buildpacks provide a DATABASE_URL variable as part of their behaviour (following from Heroku's lead).

To support this in a CF context, Cloud Controller will extract a database URL from vcap_services.json.

This patch emulates that behaviour.