Tell npm to use known registars

Workaround as npm no longer supports its self-signed certificates
http://blog.npmjs.org/post/78085451721/npms-self-signed-certificate-is-no-more
Upgrade deps