Support for cloudfoundry

I've made a some changes to etherpad-lite to make it eligible to the cloudfoundry PaaS, it can use settings from cloudfoundry like database set with cloudfoundry or even ldap (With the etherpad-lite plugin ldapauth).
I wanted to have some feedback to know if there is a better solution to do this, like do a plugin but I'm not sure it is possible. 
It could be also interesting to, maybe, integrate this to etherpad-lite directly cause provide an etherpad-lite as a service cloud be really cool in a PaaS system. If there is an interest for this, i could also integrate it with heroku (an other PaaS).
Is that tabs I smell?  Nope!  Afaik Space indent is correct for EP