adding Travis and npm support hidden files

- exclude test and .travis.yml from npm
- run test on travis