Implemented caching for SchematronValidatorEventHandler and fixed all the related tests