Adds travis yaml file.
Adds npm test command.