o.c.scan: Update all ScanCommands to generate XML via DOM formatter.

This avoids problems with text that needs to be escaped.
Merge pull request #211 from ControlSystemStudio/bug_210_scan_XML_generation

o.c.scan: Update all ScanCommands to generate XML via DOM formatter. resolves #210