CXX-191 Add createCollectionWithOptions helper
CXX-264 merge SERVER-14357 from upstream

SERVER-14357: Add support for top level JSON Array
CXX-189 Implement support for createIndex; remove ensureIndex and related