added travis file and npm test scripts to package.json