Adds new tempest tests on ReST API query

Also adds indices tests, that correspond to query statement.

Partially implements: bp tempest-rest-api-tests
Change-Id: I79408228fbe078cab6f412d3bcfd29a3fd909a1f