option to pass through a package filter

In order to support the now deprecated "browserify" field in package.json for a little more I needed some hooks into the package.json contents. This patch lets me pass packageFilter through to the resolver logic before the contents are used to resolve modules.