Refactor the search python interface (and API)
We use individual search functions, were each function only supports a subset of the features (query, entry search, quantity search, search with statistics, scrolling or pagination). Furthermore, these function became rather complex and hard to document/use. We also have no classes for result objects and rely on dictionaries.
We should use a
Search class that allows to configure complex requests based on all available features. Result typed POPOs that either are dicts and can be transform to dicts, and support json serialization.
This search class, should also be offered by the API as complex POST requests for searches.
This is a pre-requisite for #211 (closed).