WIP: npm-registry-client@next

Reworked the npm-registry-client API for consistency.
use new npm-registry-client API
style tweaks