SERVER-14374 Include server_options.h as needed and apply the std:: namespace when missing.

Previously, the affected files compiled because of indirect includes from hostandport.h
SERVER-14374 Include mongo/util/mongoutils/str.h as needed.

Previously, the affected files compiled because of indirect includes from hostandport.h
SERVER-14368 move isSelf from HostAndPort to a free function in namespace repl
SERVER-13961 Move clean shutdown logic from dbexit to exitCleanly only

All remaining places, which call dbexit, outside of repl are in response
to unhandled exceptions, so it is not safe to call commit.

The repl calls happen at secondary replica startup time, so no writes
would have happened, so there should not be any data to throw out outside
of replication bookkeeping data.
SERVER-13961 Remove TLS LockState accesses from repl
SERVER-13961 Add OperationContext argument to Client::Context

Time tracking and database access in Client::Context require access to the
OperationContext. Adding it as argument.

This is in preparation for removing LockState from Client.
Merge remote-tracking branch 'upstream/master'