Cpptest 9.0+ support, take 2

Fixes issues with the previous pull request when the job is running on a slave.

It also includes a refactoring of the XML parsing code and handles a property rename.