Install mocha globally for testing.
Update various dependencies.