Add travis build

Runs tests on commits and PRs. See http://about.travis-ci.org/docs/user/getting-started/ for setting up the hook.

___
The QUnit changes were made since by default it will call `npm test` which is currently calling a non-existant task