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
See the commit message - test if it works.