read changelog with chunks of chunksize size in getRevisions()
retrieve revisions around some given revisions

With unit tests

One case is not yet fixed:
when rev1 is first rev from changelog, only $max/2 revisions are
retrieved, but it should retrieve $max revisions.