SERVER-10037 Optimize updates when document is unchanged

Signed-off-by: Matt Kangas <matt.kangas@10gen.com>