paginate query objects

Necessary to graph run status of very large pipelines or pipelines with many historical instances.