added postgresql to production to allow depoloyment on heroku
added rails_12factor
added rails_12factor
added test, minor fixes