add npm test and .travis.yml for use with travis-ci.com