Since 'ref-filter' only has an option to match path names add an
option for plain fnmatch pattern-matching.
This is to support the pattern matching options which are used in `git
tag -l` and `git branch -l` where we can match patterns like `git tag
-l foo*` which would match all tags which has a "foo*" pattern.
Mentored-by: Christian Couder <redacted> Mentored-by: Matthieu Moy <redacted> Signed-off-by: Karthik Nayak <redacted> Signed-off-by: Junio C Hamano <redacted>