Update Gemfile and database.yml with proper postgresql databases.

* alters Gemfile.lock and schema.rb.