Add QUnit and QUnit-Extras for testing on browsers and node

See #8.