Added support for cloudfoundry deployments using spring-cloud.

I also upgraded some dependencies for the hell of it. I can remove those if you like.