Switch to using hosted-git-info to normalize urls to have greater consistency

This allows it to understand urls the same way npm-package-arg does, using the same code.
Also fixes #51 and also some of #14.