Migrate to PostgreSQL/ActiveRecord datastore.

Current spec status: 62 examples, 0 failures in 1.06 seconds.
Merge pull request #1 from sleepingkingstudios/refactor-active-record

Migrate to PostgreSQL/ActiveRecord datastore.