Add travis-ci stuff. Add phantomjs as dep for test script