Generate models and add associations.
Add indices to foreign keys and change Gemfile and database.yml for postgresql.
Merge branch 'master' of github.com:zackrw/unlisted