Task/395 pagination uriparams

### Description
URI parameters for pagination.
Simple functional test to check for errors in the values of the parameters.
This is just the 'preparation' for implementing the pagination in queries and discoveries.

I see the new parameters in the entitiesQuery() function signature. However, are they actually used? Probably actual usage is deferred to a next PR... just to know this PR scope.