added summary of test runs

Signed-off-by: Matthias Kraft <M.Kraft@gmx.com>
not useful
fixed thinko
Escaping test suite output for XML as well as trying to handle test suite errors.

Signed-off-by: Matthias Kraft <M.Kraft@gmx.com>