Prepare for travis setup

* Add .travis.yml
* Use mocha-phantomjs for npm test