Updated much code so that now Ember can read data from the Rails app

Note that this is working under `sqlite3` instead of `pg`.