Add required Sinon part.
Update model validation logic. Add error event triggering when saving an invalid model.
Update spec for RatingModel.
Rename error to custom name.
Add correct Sinon file.
Update sync() test.