gemfile and database.yml files ammended for postgresql/heroku deployment