SERVER-13961 Pass LockState to DBWrite and DBRead directly

This is part of the changes to move LockState be part of OperationContext
and not retrieved from TLS.
SERVER-13641 Plumb OperationContext through to getCollection and all Helpers
SERVER-13641 Stop making a new OperationContextImpl in Database::getFileFormat
Merge remote-tracking branch 'upstream/master'