Fixes #910 and sebastianbergmann/phpunit-mock-objects#126.
Restored `PHPUnit_Framework_Comparator_Object::toArray()` as it's a required
extension point for object comparators that need to unset properties.