Support passing an environment to suite for QUnit compatibility

Fixes #2 and gets us decent QUnit compatibility! I say golden!

And I managed to almost use semicolons everywhere! :)