block by jdarling ce7a6878e2177d89634e6b588d7906c3

Generic script to publish modules to NPM. Calls npm test and npm run documentation to make sure tests pass and documentation is generated. Then increments build number, pushes to Git and publishes on NPM. Lots of command line flags.

publish.sh