Dataset index caching and pagination.

This fixes #655 in issue tracker on github.
This fixes #642 in issue tracker on github.
Merge pull request #699 from openspending/642-dataset-index-cache

Dataset index caching and pagination.