updated gemfile to make production use pg not sqlite

Heroku uses Postgres and a native rails app uses sqlite. Added this
code so that during delevlopment the app uses sqlite but during
production is uses pg.