Merge branch 'fix-assert-ids'
fixes #506 Take no locks for getting/setting diagnostics logging (the
race condition is benign - the underlying diag file never closes)

fixes #508 Take a read lock first when trying to profile, and catch
retrywithwritelock before taking the write lock.
Add getlasterror calls to prevent races in certain tests
Remove dead mms.cpp

Conflicts:

	src/mongo/db/modules/mms.cpp
fixes #477 Use ydb row locks to serialize opens for a parcitular ns
instead of an explicit mutex. Change where we synchronize so we can be
sure there's no deadlock between row locks and the rwlock that protects
the nsindex.
Fix this test's behavior a bit
Merge remote-tracking branch 'origin/master' into cc5