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

https://github.com/Gizra/restful/pull/113/files#r15042743
Done in 9dc2f1a11c34c6ec3d7ed56c3569e7b761167fe0