Add pg and rails12factor gem for heroku