DRY principle: factorization of common code
Add search parameters, such as page(), pageSize() or orderings() and many unit tests
Merge pull request #21 from dlecan/feature-ordering-pagination-to-query

Add orderings and pagination to query