use 12_factor only in production

Following Heroku's [Rails4 on
Heroku](https://devcenter.heroku.com/articles/rails4) the rails_12factor
gem should be enabled in production mode (only?)