Add support for scalatest-maven-plugin test results.

This is version 3 of the patch for https://issues.jenkins-ci.org/browse/JENKINS-18086 and supersedes #789 and #792.