Fix main linkage for relative identifiers

Previously, a package with a "main" property that started with "./"
would be linked incorrectly.
Merge branch 'fix-main-linkage' of github.com:kriskowal/mr into master
Add tests for main property of package.json and fix for Node