Add a better function for checking UTType conformance
Tweak the directory scanner to use the new QSTypeConformsTo function