add rails12factor instead of hardcoding into application config

revert previous attempt and add rails_12factor as suggested by heroku rails buildpack