SERVER-5442: need to resetError before doing the prepare
SERVER-9778: tempoary fix for Matcher2 loading a javascript scope in its constructor
SERVER-9175 Copy round trip testing from jsontests.cpp to jstests.cpp
SERVER-6514 Only apply -zdefs and --as-needed to shared client library
SERVER-6514 Don't attempt to test shared library clients for out of tree builds
SERVER-9338 ensure maintenanceMode properly decremented
-created MaintenanceModeSetter for setting maintenance mode
-used MaintenanceModeSetter to avoid incorrectly decrementing maintenance mode
-added assert in rs.cpp to confirm maintenance mode never goes negative
Fix SYSLIBDEPS to not add empty libraries to link list, to match LIBDEPS' behavior
SERVER-7174: pop log and test refactoring
SERVER-9175 Use parseNumberFromString instead of strtod in jstests.cpp
SERVER-9175 Fix overflow in 32 bit builds
SERVER-9175 Use ASSERT_OK instead of direct Status comparison
SERVER-9034 Return rs config version from isMaster

also bulked out the replset/ismaster1.js jstest
SERVER-9824 Retry hash table grow operation on excessive collisions

Be defensive against excessively long hash chains in a resized table in
UnorderedFastKeyTable::_grow().  Retry growing the table up to 5 times
before declaring failure (as we do when inserting into a table).  Reduce
the maximum retry count for table insertions from 10 to 5, since growing
the table by a factor of 32 (2**5) guarantees that no hash chain can be
as long as 5% (1/20, the default _maxProbeRatio) of the new table size.
SERVER-9824 Whitespace -- CRLF to newline
SERVER-9325 Add blockCheckSupported and hostInfo support to Solaris/SmartOS

Implement a processinfo_*.cpp file for Solaris, providing support for
blockCheckSupported features and the the hostInfo command.  Rewrite the
readLineFromFile() function from processinfo_linux2.cpp and move it into
processinfo.cpp where it can be called for Solaris as well as Linux.
SERVER-8467 Don't pass -rdynamic on OS X

On OS X, clang ignores -rdynamic, but issues a warning, which can
be a problem if -Werror is in effect. Remove the flag because
-rdynamic is not needed on OS X.
SERVER-9824 Add jstest
SERVER-9856 check in-progress indexes for duplicates in prepareToBuildIndex()
SERVER-9853 retry ghostsync percolate if socket failure

Without this fix, depending on exact timing of upstream socket failure, you could lose
a chaining upstream oplog position update from a secondary.  This might then cause
a write with a certain level of write concern to time out even though enough secondaries
had applied the write.  This problem would be masked by a sufficient number of subsequent
writes, which would trigger another upstream oplog position update.

Note that this only affects chaining; nonchaining updates are already retrying when a socket
failure occurs.
SERVER-9881 Reject attempts to build in C++11 mode with ancient libstdc++