refactor to use npm instead of custom caching

Please test the throughly and report back any errors.

@janl @boennemann @caolan @gr2m