SERVER-14306 Make sure mongos never requests more results than needed from the shards
SERVER-16431 Move the acquisition of the flush lock to a separate method

Also adds assertions and new tests. No functional changes yet - this is in
preparation for removal of the parallel batch writer lock.
SERVER-16431 Fix compile break with clang
SERVER-16431 Sync::shouldRetry should use DB X lock, not global
SERVER-16586 Fix mongoperf crash with MMF and syncDelay

Closes #886

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
SERVER-16603 Fix rocks build

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
SERVER-16604 Stop special-casing oplog in capped collections

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
SERVER-16392 ShardInfo should stop using mapped to get size estimate
SERVER-16606 remove index blockCompressor and collection prefixCompression options from whitelist
SERVER-16179 Remove the periodic lock manager timeout report
SERVER-16179 Change the fassert conflicting number
SERVER-16612 extend indexbuilding timeout in noPassthroughWithMongod/indexbg_restart_secondary.js
Inititialize WT engine with statistics=(fast)
SERVER-16633 Add timer to geo near stage to track execution time
SERVER-15798 Helpers::removeRange does not check if node is primary
SERVER-16129 cloneCollection does not yield
SERVER-16390: Text stage fetches document twice if phrase or negation filter present
Revert "SERVER-16437 IndexScan optimize end checker for single interval scans"

This reverts commit f984b532331e46298d52d4c786cb359fa208f3d9.
SERVER-16624 Do not use deadlock detection in invariant checking

The problem is that our deadlock detector does not check for deadlock
stability currently. It is possible that as the graph traversal
progresses, locks which we were waiting on earlier get freed and suddenly
become waiting on us, becoming counted in the cycle.

The fix would be to add check for deadlock stability by re-iterating the
discovered cycle. Until this is fixed, we cannot use the deadlock
deterministically for assertions, only for retries (which is what we
already do).
SERVER-16197 fix scons install, dist

Option '--use-new-tools' now controls whether scons looks for tools at all.

"scons install" no longer tries to install external tools.
"scons dist" fails if --use-new-tools not specified or if external tools are missing