Add headless testing & Travis CI support for QUnit

`$ script/test`:

<img src="https://cloud.githubusercontent.com/assets/887/3685931/86676d40-1311-11e4-8d9c-b7764c31323e.png" width="412" alt="">

CI integration would then be just a `$ travis enable` away.

/cc @eanakashima