Use 'duck-typing' approach for detecting test mojos

This is a proposed fix for https://issues.jenkins-ci.org/browse/JENKINS-8334

I think there may be additional changes needed - like preventing too many 'false positives' resp. making sure that the same report files are not parsed multiple times.
But I'd like to get some feedback for this already