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).

https://jira.mongodb.org/browse/SERVER-15921