Made changes to how PHPUnit is installed as the PEAR package is unreliable and hard to detect previosu installations