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.
Let's change this to `return` so we don't think this method sometimes returns a boolean.