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.
Correct. This is only necessary for commands.