Ckozak/resource version

Requires [candlepin branch ckozak/resource_version](https://github.com/candlepin/candlepin/pull/547) to be useful at all.