Fix bugs in `grep`, `consensus`, `head`, and `tail`
* grep failed when no explicit pattern was given (only patterns from -f)
* consensus failed on `--table` option due to incomplete implementation
* head and tail both failed when reading STDIN when using default
("-1") cutting pattern
More residual bugs from the modularization effort of the early 20s.