tests: run cppcheck for PR in Travis

Failures are ignored for now.
Merge pull request #1432 from LudwigOrtmann/cppcheck

tests: enable cppcheck for PR in travis