lib: add IStream::read_lines

Lines are not chomped since I prefer to not lose information.
“Chomp” means “machouiller”.
Did you mean “chop”?