COOPR-617: Resource versioning

This PR also include changes for https://issues.cask.co/browse/COOPR-195. 
Then maybe "Exception deleting all versions of type <entity-type> with name <entity-name>"