Create `newlines` type (#363)
This creates a new `newlines` type that is returned from `(*contentProvider).newlines()`. The type defines two methods `.atOffset()` and `.getLines()` that replace `candidateMatch.line()` and the standalone `getLines()` respectively.