attaching url and urlRoot on the model if passed
Merge pull request #2391 from tgriesser/model-options

Attaching url and urlRoot on the model if passed