opened
otahontas
username_0
### Description

This PR adds pagination to query responses, following our api specs.

### Related issues
Fixes #54 

### Type of change

- [x] New feature (non-breaking change which adds functionality)

### Changes Made
- Added pagination parameter checks and pagination response to handlers module
- Added pagination logic to operators module
- Added db operations for size of query results (yepp, this can't be done directly with cursor...) 
- Moved away json dumps from operators module --> now operators are only returning strings, lists or dicts, which can then be dumped to json / xml in handlers module. Makes program logic clearer imo.

+ added some tiny fixes I noticed to handlers errors 

### Testing
- [x] Unit Tests
- [x] Integration Tests

### Mentions
Are we ok with this or do we wan't to include for example link headers (see https://stackoverflow.com/questions/12168624/pagination-response-payload-from-a-restful-api)?
Feature/add pagination
issue
created
otahontas
username_0
Added issue for links: #75
comment