Backsync some changes from alphagov

Brings npm to version 0.3.1

- Namespacing that works
- complete package.json with updated URLs
- representative test suite