test/runall.sh checks for mocha availablilty.

* Installs mocha globally (with sudo if available), if it's not available in the path.

Admittedly, this is a bit hacky, but it allows the node unit tests to run using the instructions at https://ripple.com/wiki/Visual_Studio_2013_Build_Instructions#Run_Tests