MDL-40940 try to guess testcase location using info from /phpunit.xml

This will help with core tests in non-standard core subsystem locations.