added new xml config namespaces where appropriate, some cleanup, too, for templates, sample app, defaults. refs #444