Make Doxygen parser handle global messages correctly

The parsing of local messages did not recognize global messages as a
point to stop grabbing the message.

[FIXED JENKINS-18913]
Merge pull request #28 from olafmandel/JENKINS-18913

[FIXED JENKINS-18913] Make Doxygen parser handle global messages correctly