add support for user prefs, saving of selected measures

* Adds JSON support to registrations controller
* Adds Thorax user model
* Removes Ruby SelectedMeasure model
* Update Backbone.sync method, after further testing