[WIP] PHPUnit 4.x compatibility fixes

Updates paratest code to allow using either PHPUnit 3.x (or below) or latest PHPUnit 4.x versions.

Most likely will solve both #83 and #79 once finished.