Create query API

Add REST endpoints for query API. Still stub methods, will add the impl
later.

Signed-off-by: Christoph Kassen <c.kassen@telekom.de>