Add pg and rails12factor for heroku