Allow passing the resource's version number under "resource" property

https://github.com/Gizra/restful/pull/113/files#r15042743
maybe move (instead of copy) this from the existing place (angular_example)