fix #103--on bulk read DocumentPage was not getting initialized all the way
fix #75, calculation was assuming 0-based indexes on pages, but we're doing 1-based
Merge remote-tracking branch 'origin/dev' into dev