PHP-1226: Add support for the new listIndexes command in 2.7.5

Some of this is also in #741 , which should be merged first.
Huh? We don't do that anywhere else.