Removed test/common.js, which is not needed with Istanbul.
Added test/mocha.opts and turn on the --check-leaks switch.