TOOLS-318: mongoimport should check if the connected server is part of a replica set before setting write concern
TOOLS-318: only increment numInserted for nil upsert errors
TOOLS-318: remove write commands
TOOLS-318: handleErr => filterIngestError
TOOLS-318: cache isReplicaSet
TOOLS-318: pass in session to configureSession
TOOLS-325: fix failing tests