Implementing query interface for ext-OCCI endpoint. fixes #38