NODE-265 Merged in code for handling listCollections command in 2.8