RUBY-806 Use listIndexes command when talking to servers with wire version >= 3
Merge pull request #527 from estolfo/RUBY-806-master-list-indexes

RUBY-806 Use listIndexes command when talking to servers with wire version >= 3