Added support for wildcards in the middle of path definitions
Modified scoring so that wildcards count the number of path components matched.
Merge pull request #827 from kal/master

Extended wildcard functionality