Add the 'require' option support

The require option of mocha is handled at command line level, so it doesn't work when passing it to the mocha object, to make it work I copied and adapted the code from /bin/_mocha and run the requires before launching the tests.