SERVER-9358 Prevent logRotate twice in the same second from losing log data

(cherry picked from commit d53521c9534d579d44582bb06cb37d73ffeab931)
SERVER-13537 better handle numerical overflow of large limit values

(cherry picked from commit 3e4b9474749fc3b4df182d813e09a26b0e02fcc6)
SERVER-13557 disallow negated elemMatch value from using an index scan

(cherry picked from commit 45cf39c95d0fdfcb15b483e2d50b392a95735043)
Merge remote-tracking branch 'upstream/v2.6' into v2.6