ugrep: implement -m/-max-count option
Others:
* use unsigned int makes more sense to count matches
* replace strtol by parsenum
remove dead code
test for ugrep/-m
draft for LZMA support