Add support for sharding on individual collections.

Change by Miles O'Connor.

This commits a general method to run a command the first time a mongo instance interacts with a db, which is specifically used to enable sharding on individual collections. We'd love to know if there's a better way to do this.