travis-841337: Use travis continuous integration

Fix 2 test failures due to jsdom not playing ball, and add travis-ci
integration files.

Signed-off-by: Joe Walker <jwalker@mozilla.com>