Refactored app.rb computed_environment_json into 2 methods: computed_environment_json and helper method vcap_services. Expanded test coverage based on existing dea_next tests.