Support Heroku platform api

- Create table/index from app
- Add endpoint for reseting database
- Support platform api of Heroku

![screen shot 2014-09-15 at 8 01 39 pm](https://cloud.githubusercontent.com/assets/85887/4270237/bcc7fd5c-3cc7-11e4-80b6-c9f74cdab1d0.png)