Replace QUnit with Nodeunit, simplify Gruntfile, and configure Travis to use new tests.