Implement PHPUnit ClassExists constraint matcher.

Re-writes the existing assertion method so it looks like other
PHPUnit assertions and constraints.