documentation and yml

- added the licence
- added test.js in preperation
- added travis.yml file
- added a couple packages to package.json
- updated documentation a little