PDB-463 Fix assertion error in /v1/resources

resource-query-limit wasn't removed from this end-point, this removes it
properly.

Signed-off-by: Ken Barber <ken@bob.sh>
PDB-463 Add back missing query-resources

I had removed limited-query-resources but not replaced it with something
that actually peforms the SQL query. This patch replaces limited-query-resources
with query-resources which really just wraps the limited-* version with
a zero limit.

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #860 from kbarber/ticket/1.6.x/PDB-463-assertion-failure-v1

PDB-463 Fix assertion error in /v1/resources