compile and work on osx
Merge pull request #10 from laurenhecht/osx

compile and work on osx
fix linux compile
Merge pull request #12 from laurenhecht/osx2

fix linux compile
fix spacing
fix init on os x and clean test builds
SERVER-14668: Replace uses of DBWrite lock with DBLock

This reverts commit 8e83e72512fcb8eb8f06987927766c0b77cea23e.

This reinstates commit ae333bc94a7d89d3220dcae9579fcaf68aa2e290
and commit 962f959a09b63aa0482d7e0c9bad89363d1e1194, and fixes
three cases where the wrong database name was locked.
Update README

Updated description of MMS.
Added MongoDB University link.
SERVER-15484 flush stdout before exiting Shim::doRun()
BUMP 2.7.7
post 2.7.7
SERVER-15404 SERVER-15466 Hook up Applier draining and force syncing to new Replication Coordinator Impl
SERVER-15077 Remove blockSync() from ReplSetImpl
SERVER-15031 Fix some broken methods on the LegacyReplicationCoordinator
SERVER-15031 Move maintenance mode manipulation out of theReplSet into the LegacyReplicationCoordinator
SERVER-14859 Remove HybridReplicationCoordinator
SERVER-14668 Move docLockingSupported out of d_concurrency.cpp

It has to be used in numerous places, so it is better suited as a global API.
SERVER-14668 Cleanup MMAPV1-specific classes from db.cpp

o Moves DataFileSync to be under MMAP V1, because it is only used there
o Cleanup variable name collision with replSettings
SERVER-13522 Remove usages of runCount and replace them with DBDirectClient::count
SERVER-14668 Move WriteUnitOfWork around DatabaseCatalogEntry creation outside of DatabaseHolder

This makes it up to the storage engine to decide what transactional
operations to do during database creation.

Cleans up some references to operation context, which were not necessary.