lexer: make lineLexer() parse one line at the time

to limit channel buffer size

Signed-off-by: Alejandro Mery <amery@geeks.cl>
lexer: close tokens channel on EmitEOF()

Signed-off-by: Alejandro Mery <amery@geeks.cl>