Migrate to dotcloudapp

This PR covers all the changes required to run this sample app on the Next dotCloud platform. 

Please look at our [Introduction for dotCloud Developers](https://next.dotcloud.com/dev-center/guides/migration-guides/an-introduction) to make yourself familiar with the platform differences.
The [Quickstart](https://next.dotcloud.com/dev-center/quickstart) document contains all the steps to deploy an app on Next dotCloud.