Add CI testing using phantomjs and travis.
Merge pull request #226 from tobie/ci

Add CI testing using phantomjs and travis.