Xml templating

Addition of a 'template' command for creating the full XML schema automatically from the Python models.