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
fixes #490 fixes #437 Add locktree visualization APIs through commands:
showPendingLockRequests, showLiveTransactions, and an automatic mechanism
for dumping lock not granted style information to the server's error log
Merge branch 'visualization' of github.com:Tokutek/mongo into visualization

Conflicts:
	src/mongo/db/storage/env.cpp