Added PostgreSQL database sample and added pg gem to Gemfile.