fix clang / gcc warnings and add travic-ci badge to readme.md