COOPR-617: Resource versioning

This PR also include changes for https://issues.cask.co/browse/COOPR-195. 
Could `entityStoreService.getView(account)` be null? If so, let's do a check and send a proper response. Otherwise the client gets a vague error response from the handler.