Adds support for travis-ci and updates package.json.