SERVER-6062 clean up of str::stripTrailing. added unit test.

Closes #795

Signed-off-by: Benety Goh <benety@mongodb.com>
SERVER-15700 Modify SortedDataInterface to not require unindex() to return
whether the index row was deleted. Fix unit tests to manually verify that
unindex() operations had the desired effect (in the same operation context)

Closes #827

Signed-off-by: Benety Goh <benety@mongodb.com>
SERVER-15701 Pass the old object down to updateWithDamages in the form
of a RecordData. This way, the storage engine does not need to re-read
the old value in order to perform the update.

Closes #828

Signed-off-by: Benety Goh <benety@mongodb.com>
SERVER-15702 During collection scans, read the document from the
RecordIterator instead of the Collection. This way the RecordIterator
class can optimize document fetch for disklocs that were just returned.

Closes #829

Signed-off-by: Benety Goh <benety@mongodb.com>
SERVER-15703 use w=1 for dumprestore test

Closes #830

Signed-off-by: Benety Goh <benety@mongodb.com>
SERVER-15704: disable resync.js
Merge remote-tracking branch 'upstream/master'