Adds support for start and end offsets to buffer.toString. Fixes #448.
travisplexer: pr-449-linux travis ci test