Switch to PHPUnit for tests

The mocks in SimpleTest blow up on the PHP in Mavericks so I decided it was time to finally move from SimpleTest to PHPUnit. I ended up not using PHPUnit's mocks and instead built out a mock client class that has a more task specific interface.