CMS-4383 Add access right element to queries

Renamed get method that wasnt a get method
CMS-4383 Add access right element to queries

Renamed QueryMetaData to QueryProperties
CMS-4383 Add access right element to queries

Cleaning up workspace-service and query-service