Resolves gh-10: Adds support for running QUnit tests.
This runs the tests in two configurations: browser-style with Phantom.js and in vanilla Node.js.