Correct references toPHPUnit_Runner_Version::VERSION

From PHPUnit's history, this looks like it was meant to be internal.
It's also been removed from recent versions of PHPUnit.

Fixes several tests under PHPUnit 3.8
Merge pull request #5761 in master
Merge pull request #5786
Merge pull request #5786 in develop