COOPR-617: Resource versioning

This PR also include changes for https://issues.cask.co/browse/COOPR-195. 
Please also verify in a unit test that the endpoints without version give the latest version of the resource.