Attaching url and urlRoot on the model if passed

Re-opening from #2109, to keep consistency with the change on the collection in #2354 - directly attaches the `url` and `urlRoot` attributes on the model if they're passed in the options hash.