Make XML report output well formed.
Remove % from Loss tag name, add quotes around attribute names,
add XML header.
Merge pull request #61 from dmbaturin/master

Make XML report output well formed.