Re #6169. Report the memory footprint increase during a test.

First attempt to show the increase in the memory footprint due
to a test (after any created workspaces etc. have been deleted).
Added to the XML report for use by Jenkins & the performance test framework.