prepare app for heroku

https://devcenter.heroku.com/articles/getting-started-with-rails4
use friendly_date for displaying post date