Add --ignore-scripts option that causes `npm install` to not run preinstall and prepublish scripts (closes #2817)