2 bug-fixes for testing and travis configure.

- fixed exception raises when running test if no settings.json present. (#147)
- fixed npm run test failed. (#148)
- add .travis.yaml for CI