fixes #108, Implemented a DynamicTextRangeSet, a change aware rangeset
that automatically gets adjusted when the document changes.