WIP: Paged query support

DO NOT MERGE

This is a work in progress; adding paging support to all of the (relevant) query endpoints.

The current commits only provide the basic scaffolding, and implement paging on the fact-names endpoint.  More commits forthcoming to add support for other endpoints (plus docstrings, etc.)

Just wanted to get this up for initial review in case anyone has major concerns about the implementation.