SERVER-14713 Specify sslAllowInvalidCertificates flag in sslSpecial tests to pass with mongo shell changes
SERVER-14668 Use ensureShardVersionOKOrThrow for collection shard version checking

This commit exposes a SendStaleConfigException-based method for checking
shard staleness. This will be used in all methods (other than the batch
executor).

Also clean-up some unnecessary includes.
SERVER-14668 Move getIndexSizeForCollection to be a method on Collection
SERVER-15397 don't use strict string comparison for documents imported from csv.

Closes #797

Signed-off-by: Benety Goh <benety@mongodb.com>
SERVER-15096 added modes to mongoshim. also added JS test and a number of test-related options.
SERVER-14713 fix false positives for ssl tests
SERVER-15089 Add new Applier class and remove theReplSet references from BackgroundSync
SERVER-15411 fix uninitialized char array in topology coordinator
SERVER-15089 initialize member variable
SERVER-15089 separate h fields for lastFetched vs. lastApplied
SERVER-14668: Replace uses of DBWrite lock with DBLock
TOOLS-198 add option to support packaging tools in tarball