Put the hack for resolving JavaScriptCommonJsRequire relations into a separate module.
JavaScriptCommonJsRequire: Keep track of the hrefType.

This enables refreshHref to not do anything when it's a module name.

Relates to: https://github.com/assetgraph/assetgraph-builder/issues/116
1.6.16