Add rails_12factor gem to support Rails 4 Heroku deployments. Fixes #1.