Update app.rb

Not sure of auto config works in latest CF so adding check for VCAP service environment and if it exists we grab CF parameters