Unbroke --grep.

Also added unit tests for LogFilter. The logreader module is now at 100% test coverage. \o/