Fixup tests

As requested in #30

Use local copies of dependencies so IE works and update to the latest version of mocha so loads of stuff works better.