make jshint almost happy
linted with jshint
fix #7 in control allow data that is not valid JSON, in Model.remote.rest throw an error if data is not valid JSON