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.
const std::string& ns is preferred (in know the file is inconsistent).