Fix problem where requirejs loading would fail when using Sinon fake timers in the test
Tidy up the code a bit
Allow jsdomOptions to be passed through to jsdom initialisation
Add repository info to package
Bump to v0.4.0