Remove unsafe XML parsing

Move to using xmlutils for all XML parsing. Resolves bug 1190229.
Grizzly backport of Mikal Still's master patch.

Change-Id: I43afb2e188bbea99ea30fe6cb2eb1aeedc4ddfd4
Merge branch 'grizzly', tag '2013.1.3' into grizzly

2013.1.3