CXX-346 add getIndexNames helper

This isn't required by the listIndexes spec, but since we have getCollectionNames, I figured we might as well be consistent.