travis: add license checking rule

- add travis check for licenses
- add branch option to check script to make it faster
- echo files with unknown licenses to stdout
Can you put them in `tests` or better `dist/tools/licenses/tests` then?