SERVER-3223 js test for upsert with $bit

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
SERVER-5625 SERVER-7426 allow all connections in all states to tolerate downed shards and primaries
Merge remote-tracking branch 'upstream/master'