Update database to use PostgreSQL

- Add pg gem to the GEMFILE
- Add a database.yml.example

Also:

- Specified ruby version number in the GEMFILE
- Added a README