Add `R.modelName` property

When debugging code using loopback angular resource objects, it's
difficult to find out what kind of model is represented by
a given `$resource` object.

This commit adds `modelName` property to the resource constructor
to fix that issue.