travis: check for doxygen warnings

This introduces a script that will check for doxygen warnings in newly committed or edited files.
I took this from the other scripts. Should we change this there, too?