gitstats: Convert matcher.py to use optparse