COOPR-617: Resource versioning

This PR also include changes for https://issues.cask.co/browse/COOPR-195. 
May make more sense to simply add a `version` field to `BaseEntity`.