Add a matchesParent method to Matcher.

This new method is the complement to matches in that it tells you if the given path matches any section of the pattern. Also added a MatchesParentVisitor to provide the implementation for this new functionality.
Maybe the comment is just in the wrong place.