SERVER-8416 Lock around replica set state changes
additional jstest cases for $concat
Merge pull request #375 from jameswahlin/master

Additional jstest cases for $concat
SERVER-7636 Do not use cached connection when read preference changes
SERVER-8553: fix v8 error checking and exception handling
SERVER-8523 correctly parse shard host strings from config server for config upgrade
SERVER-8521: remove Database::_openAllFiles
SERVER-8521: clear temp collections when a database is opened, not server startup
SERVER-8335 remember _dataWritten for unaffected chunks after partial chunk manager reload
SERVER-6125 - Add tests for heterogeneous $sort operations in aggregation

Signed-off-by: Ian Whalen <ian.whalen@gmail.com>
SERVER-4161 Covered index query tests

Signed-off-by: Ian Whalen <ian.whalen@gmail.com>
SERVER-7636 Do not use cached connection when read preference changes

Fixed tests that was accessing invalidated BSON internal buffer data.
SERVER-8525 - fix noobjcheck copy/paste-o in --help
SERVER-8527 Do not try to read the non-existent "$external" database during privilege acquisition.

It is the attempt to acquire privileges stored in "$external.system.users" that is causing the
the DatabaseHolder to construct a Database object for the non-existent "$external" database during
normal operation.  This change aleviates that on the acquire privileges code path, without fixing
the more general problem of creating database objects for illegal database names.  That problem
is far stickier, and this limited solution ameliorates the "can't add shards" symptom.
SERVER-8217 Write test for id logging
SERVER-8330 Make jsonString ouptut a signed Date_t and make sure JSON parser can handle both new and old formats
SERVER-8575 SERVER-4161 SERVER-5759 Disable descriptive testing of erroneous indexOnly reporting when the behavior is inconsistent in a sharded environment.  Fixes sharding_passthrough/covered_index_negative1 test.
SERVER-8330 Added cstdint.h for use of int64_t in Date_t
SERVER-8217 Fix regex for timestamp
SERVER-8217 Better fix for regex