fix license headers in non-.c files
tests: let license checker check cpp files, too
Merge pull request #1608 from LudwigOrtmann/fixmorelicenseheaders

Fix more license headers