Added pg and rails_12factor gems for heroku
Modified the Gemfile.lock