Fixed function filterRepeatingWhitespace, which cycled in case of deleting last token of input

filterRepeatingWhitespace has no longer warning in cppcheck, it was not false positive, iterator can cycle in input. Also fixed behaviour in case of doxygen comment without function after it.

Karel Kubicek, 408351, <408351@mail.muni.cz>