PHP-1286: MongoCollection::count() segfaults due to a double free.
Merged pull request #776
PHP-1285: Add MongoDB::getCollectionInfo as per SPEC-54.
Fixed test.
Merged pull request #775
PHP-1276: Fixed tests related to system.namespaces as that's gone away in 2.8.
PHP-1276: Fixed tests related to system.indexes, as that's gone away in 2.8.
Make sure we sort the result... sigh.