added MONGO_COMPILER_NORETURN, mutable mutex, and const member functions
uint32_t for mode, s/_guard/_mutex, s/guard/lk/, untabify .h file
replace using namespace with using specific classes/names
removed getSingleton, renamed matches, added inc/decForMode, lockIdNotFound to enum, moved nextLid to anon namespace