CXX-189 Implement support for createIndex; remove ensureIndex and relate...

...d
Yes, otherwise, cannot call asTempObj in toBSON.