Error messages may be given as RegEx; Use Hamcrest matchers; Add test for XsdChecker

Error messages may be given as RegEx: This is needed when error
messages carry absolute paths which will most certainly differ for
different systems. Error messages in Tests will then be given as
flexible RegEx, not as fixed String.
[cosmetic] Add space between the word 'class' and the class name