Fix some formatting in pdfs, add CSV donload to report results
Add BatchDate indexer
Add adapters for creating new reports in extension packages

Refactored reports JS/PT
Add sort_order, sort_on and pagination hints to jsonapi/read

When requesting objects with @@API/read, two extra parameters have been
added:

- page_nr (default 0)
- page_size (default 10).

The returned JSON objevt will contain some extra fields explaining the
contents of the jsonvalue['objects'] array:

- total_objects: count of objects matching query
- first_object_nr: number of first object returned