SERVER-7424 Use simpler regex to produce single line output in tojson()

When displaying small objects, convert only tabs, carriage returns and
newlines to single spaces, leaving other whitespace alone.
SERVER-7588 Improve logic for seconds and milliseconds in ISODate constructor

Do not use floating point for seconds, only for milliseconds.  Adjust other
date components when milliseconds round up to 1000.
Fixes SERVER-9491

Upper chunk key was not written properly to the log in some places.
SERVER-9542 Fix incorrect unit test

Unit test was passing due to the bug fixed in SERVER-9542.  We
SHOULD get an error when trying to cloneMinus to the same version.
Changed the test to use a higher major version so that no error
message will be returned.
SERVER-9401 remove duplicate points in lines because S2 doesn't like them
SERVER-9448: make map and reduce argument and receiver objects mutable
SERVER-9315 Make sure local.slaves collection can be maintained in a system with security enabled