Changed the way that the range bytes are calculated. Also added new unit tests for getting first byte, last byte and a range that covered more than one chunk.

VERTX-8