SERVER-15789 Close record stores before shutdown or drop

This pleases any storage API that requires there to be no open handles to storage
abstractions on shutdown or drop.

https://jira.mongodb.org/browse/SERVER-15789