PathSpec support

This adds support for pathspec matches.