Added initial pagination support. Probably buggy.
Added more tests for query pagination
Fixed a query bug and allow queries to request a particular document
Allow null op versions
Fixed a bug with the diffing algorithm