XSD support

- Code changes to allow XSD validation to be included in .layout files
- Fixes to yesterday's case-insensitivity change
- Updates to .layout files to validate against new XSD