RUBY-805 use listCollections with wire version >= 3
Merge pull request #520 from estolfo/RUBY-805-list-collections

RUBY-805 use listCollections with wire version >= 3