textproc: refactor rests
textproc: arbitrary token lengths in NewTokenReader
textproc: add errTokenReader and improve test coverage
textproc: refactor tests