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

https://github.com/Gizra/restful/pull/113/files#r15042743
Indeed, but I think ``if (empty($public_fields[$public_field_name]['resource'])) {`` was lost, no?