Task/395 pagination queries

### Description
Pagination implemented and with rudimentary unit tests.
URI params 'offset' and 'limit' used.
A third URI param 'details' steers whether 'mongo db count' command is issued on no hits.

Comment added.
Fixed in a2e14c7