OAK-1703: Improve warning logged on concurrent Session access
Introduce lock implementation dedicated to log warnings

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1595457 13f79535-47bb-0310-9956-ffa450edef68