Have npm retry when `npm install` fails.

- Add npm-install-retry as a dependency.
- Let it retry 10 times before failing the build.