Add rails_12factor gem for Heroku deploy.
Modify Gemfile.lock