Fixed Profile expander so it now generated (xsd/schematron) validatable Profiles
Resolved bug in expansion of extensions