Only use .xml and .theme files for highlighting and themes
Review Request #129795 - Created Jan. 8, 2017 and submitted
Currently, the QDirIterator lists all files when searching for highlighting files and theme files.
This for instance also includes backups (.xml~) and similar files, which is obviously wrong.
This patch fixes this by searching only for .xml files and .theme files.
Compiles, unit tests still run.