Implement Glob.matchAsPrefix()

This also allow matchesFull() to be used with Glob patterns.