Changed handling of query parameters

- "latest" parameter removed
- added "limit" and "order" parameters
- different handling of parameters internally
- default values added