Added test for setting the cursor correctly when there are no more
results.  I.E max loaded < requested page size.

USERGRID-1046