Added pg and rails12 factor for heroku