Rewrited LogReader, minor refactoring

More info here: https://github.com/brianium/paratest/pull/128