added pg and rails12factor for rails for heroku