Added a common library module to handle paging consistently across all endpoints.
Converted "children" module to use common "paging" module.
Converted "records" module to use common "paging" module.
Added test for total_rows (which was previously broken).
Added additional tests to cover glitches that came up in manual testing.