make intiial sync test more useful
SERVER-9242 Use MONGO_INITIALIZERs to cache blockCheckSupported

Only cache values for blockCheckSupported() after the value has been
determined (for platforms, i.e. Windows, where this is a runtime test).
Use indexed rather than named Set() when converting to v8::Array

The meat of this change is in the Array case of mongoToV8Element.
mongoToV8() was removed since this was the only caller.
Speed up conversion of v8::Arrays to BSON

Two major improvements:
* Use BSONObjBuilder::numStr() to convert index to string (has global
     cache of strings for 0-99)
* Use indexed rather than named iteration over the v8::Array
SERVER-9267 Make readonly v8 objects use same getters as regular lazy objects

Also fixes SERVER-9251
SERVER-8558 Support mongobridge delay parameter in ReplSetBridge

This should be compatible with future improvements to support ranged delays (see #317)

Support unidirectional network partitioning in ReplSetTest
The default behavior (bidirectional) remains as-is. This adds support for terminating an X->Y link while leaving Y->X untouched.

Test replica set flapping and heartbeatTimeoutSecs

Also adds two fail points to support JS tests. rsDelayHeartbeatResponse will delay the replSetHeartbeat command response on a node. rsStopHeartbeatRequest may be used to preemptively fail a heartbeat to another member (by its host:port).

Signed-off-by: Eric Milkie <milkie@10gen.com>
SERVER-8420 add a tailcheck to detect cursor deadness
SERVER-6079 Avoid C style cast in Timestamp test
SERVER-8558 fix Windows compile
SERVER-8046 Some additional mutable tests
SERVER-8046 Add an easy way to get an invalid element for a doc
SERVER-8046 Add a new hasChildren method is faster than counting
SERVER-2011 Added --quiet option to tools
migrate hash index to new index api SERVER-8791 SERVER-9164
SERVER-8536 reenable index builds for incomplete indexes at startup

At startup time, we will once again attempt to rebuild any index builds
that were in progress when the server was shut down.
This is to support background index builds with replication.
fix spaces at line start to keep linter happy
fix linux32 link
SERVER-6947 Do not create undefined fields in db.createCollection
SERVER-9125 Fix memory ownership during large collection copy
Add support for new sanitizers in clang 3.3 and gcc 4.8