Support specifying rest resource name

Add support to specify the resource name (name of model on rest endpoint) instead of forcing it to be the pluralModelName.
Merge pull request #11 from GlobalOptions/master

Support specifying rest resource name