Re-working the user db schema for better scalability.

- Updated to the official activerecord-postgres-adapter gem, which has
  been updated for rails 4.
- Moved columns like name, location, sex etc. into a user_details table
  to help keep the actual user table thin.
- Added an index on user current location.