Try locally-installed mocha first

If mocha is installed locally (i.e. defined in `package.json` and installed with `npm install`), its executable is not available in `$PATH` by default.