Add support for running tests with `npm test` command

A convention for node packages is to run tests with `npm test`. This adds support for running tests with this command, and adds another command to run tests and watch for changes by running `npm run-script watch-test`. This is more in line with node conventions, and doesn't require the user to have mocha globally installed.