Remove WiredTiger options from internal MongoDB option code.

It's now done like other plugins.
Fix a dependency on C++11

Don't use a const iterator when deleting from a map.