SERVER-15921 Check if we have a lock state before taking any locks in
the kv catalog. The assumption is that no lock state means we are in an
inherently single-threaded code block (like startup).
Remove bugfix from this branch
Merge branch 'server15921' into tokuft