Test suite and nsp-api stub

The goal of this pull request is to remove the HTTP request to the NSP API.
Eventually a good solution would be to read stubs related to the NSP module from this module directly.

Most of the HTTP trafic is yet to be removed around the npm-client.
@pdehaan thanks, fixed!