Fix shorthand old npm

New npm versions are supporting the shorthand username/repo
in the repository field of the package.json - but sometimes
people with old npm versions are publishing them and they
do not get normalized.

Fixes #418

Note: This one depends on removing the github url generation from the view to the model ( #417 ) but I can rebase this if you want.