SERVER-6802 preserve correct continue-on-error semantics for mongos bulk inserts

Also divides batches into sizes manageable by the WBL

Conflicts:
	src/mongo/s/strategy_shard.cpp
SERVER-8769 Track inserts on mongos for serverStatus().opcounters
SERVER-8815 Fix tautological compare in checkClusterMongoVersions
SERVER-6991 allow releasing sharded conn back to pool after read operation

Conflicts:
	src/mongo/s/shard.h
SERVER-9139 clean up unsharded cursors in CursorCache
SERVER-7271 Do not exit if a transient config server error aborts a migration.

Conflicts:

	src/mongo/client/distlock.cpp

Conflicts:
	src/mongo/client/distlock.cpp
	src/mongo/s/d_migrate.cpp
	src/mongo/util/assert_util.h
SERVER-9125 Copy collections faster in the config upgrade procedure
SERVER-9125 Fix memory ownership during large collection copy
SERVER-9125 Fixed batch size computation if first doc is large.
SERVER-9125 Prevent cursor time out in the case of very slow config servers
SERVER-7271 Improve error reporting when migrate commit fails.

Conflicts:
	src/mongo/s/d_migrate.cpp
SERVER-4739 compile mongos on Windows

Conflicts:
	src/mongo/s/server.cpp
SERVER-9093 Make copydb command work on mongos with auth

Conflicts:
	src/mongo/s/commands_public.cpp

Conflicts:
	src/mongo/db/commands.h
Fixes SERVER-9491

Upper chunk key was not written properly to the log in some places.
SERVER-9542 Fix incorrect unit test

Unit test was passing due to the bug fixed in SERVER-9542.  We
SHOULD get an error when trying to cloneMinus to the same version.
Changed the test to use a higher major version so that no error
message will be returned.
SERVER-9542 Change comparison operator to correct type

Do not use "<" to execute a "<=" comparison.
SERVER-9661 config upgrade v0->v3 fails when dropped collection has noBalance set
SERVER-9909 balancer reload idle sharded coll data, and don't abort round

Conflicts:

	src/mongo/s/grid.cpp

Conflicts:
	src/mongo/s/balance.cpp
SERVER-8844 config server not in sync message is misleading
SERVER-9864: make dbhash take a list of collections to hash and mongos check should use it

Conflicts:
	src/mongo/db/dbcommands.cpp