changes for heroku deployment

According to https://devcenter.heroku.com/articles/rails4-getting-started