Data.Conduit.Text (lines, linesBounded): refactor, new tests

Here are the refactored versions of `lines` and `linesBounded` as well as some additional tests.