Add support for case insentivity in glob search pattern

Note that this allows for a global mode modifier at the beginning of
the pattern. It does not add support for individual mode modifiers
scatterred throughout the pattern.