PHP-1285: Add MongoDB::getCollectionInfo as per SPEC-54.
Fixed test.
Merged pull request #775