Adding travis configuration and support for npm test