Fix AIP storage paging scalability.

refs #5337

Added pagination helper logic that can handle ElasticSearch results
and implemented in AIP storage pagination.