Bug fixes.

 * Account for `\0gcdata` property in SplObjectStorage (This was causing the failure described here: https://github.com/sebastianbergmann/phpunit/pull/773#issuecomment-11991472)
 * Prevent foreach from corrupting `SplObjectStorage` objects when converting to an array.