Add support for PHPUnit 4

The changes make Stagehand work with PHPUnit 4 (atleast in combination with Makegood) no excessive testing has been done.