splitter: Fix words and lines splitters
Add eol test (current result: DustMite crashes)
splitter: Improve EOF handling