Use a model for resource extra data instance

Review Request #7398 — Created June 9, 2015 and submitted — Latest diff uploaded

Information

Review Board
release-2.5.x

Reviewers

The RB.ExtraDataModel is a simple model that has special JSON
serialization for our API, since our API takes flat values and not
nested ones.

The RB.ExtraDataMixin provides overrides for Backbone.Model's set and
unset methods, as well as helper methods for setting and unsetting
members in a model's extra data.

Ran JS tests.