PHP-1068: Test that CommandResult is iterable

Use ping instead of isMaster since the result document is more predictable.
Merge pull request #13 from bjori/php-1068

PHP-1068: Test that CommandResult is iterable