SERVER-14817 fixed benchRun so that it does not call auth() on every operation.

Closes #733

Signed-off-by: Benety Goh <benety@mongodb.com>
SERVER-14135 Improve clarity around locking rules in the header for ReplicationCoordinatorImpl
SERVER-14838: Fix shutdown failures

1. On Solaris, we race between the main thread, and signal thread. The
main thread wins, and returns EXIT_NET_ERROR. Previously, we use to work around
this by just sleeping on the main thread.

2. If we exit early due to missing db path, OperationContext asserts
because the storage engine has not been started yet.
move some jstests to use bulk insert to make tests faster
SERVER-14800 Replace some masserts with invariant calls in locking
SERVER-14788 Do not start threads in ReplicationExecutor's constructor.

By not starting threads in the ReplicationExecutor constructor, we can safely construct
it when constructing the ReplicationCoordinatorImpl that owns it, which allows us to
get rid of the weird behavior where we pass a NetworkInterface* to startReplication(),
and further allows us to clean up the concurrency rules for startReplication().
SERVER-14788 Make ReplicationCoordinatorImpl::startReplication threadsafe.

To follow the contract described in the header, it shouldn't be mutating pointers
to its top coord and repl executor, or changing its RID, so do that in the constructor,
instead.  This makes the parameters to startReplication sane, as a side benefit.
SERVER-14044 Invalid {$meta: 'text'} reference in agg $sort error message

Closes #737

Signed-off-by: Benety Goh <benety@mongodb.com>
SERVER-14165 port isSelf fastpath to windows

Closes #736

Signed-off-by: Benety Goh <benety@mongodb.com>
SERVER-14836 SSL certificate expiration date in db.serverStatus()

Closes #738

Signed-off-by: Benety Goh <benety@mongodb.com>
SERVER-14718 index negations below elemMatch value
Merge pull request #1 from mongodb/master

merge 2014-08-09