lib: add IStream::read_lines

Lines are not chomped since I prefer to not lose information.
Maybe you should add a test with a stream not ending with LINE FEED and another that begin with LINE FEED. Also, I think the documentation should make clear that only LINE FEED is detected by `read_line`, `read_lines` and `append_line_to`.