added paging to all indexes
Merge pull request #37 from cloudant/paging

added paging to all index types, created utility function for paging. Fixed some formatting issues.
added temporal function to capi
Merge pull request #38 from cloudant/c_tpr

added temporal function to capi