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

https://github.com/Gizra/restful/pull/113/files#r15042743
Maybe we should XHProf this to see there's no big hit from reloading the plugins.