Add the rails_12factor gem for heroku

@see
https://devcenter.heroku.com/articles/rails4
Merge branch 'rails4_on_heroku'