add validation of XML files in idioms

Uses stix-validator to check whether files are well-formed