grep: extract main search loop as searcher method
Still displayer part is in commands.grep(), the core grep logic is now
reusable. I'll revisit the displayer stuff later since it will be another
long series.
#require docutils gettext $ $TESTDIR/check-gendoc zh_TW checking for parse errors