SERVER-2442: clean up listCollections
SERVER-12517: add listIndexes command
SERVER-2442: listCollections command used in shell
SERVER-12517: listIndexes in mongos