Add 2i pagination support

And support for CS $ index queries that return body.

See https://github.com/basho/riak_kv/pull/540 for more info.