OAK-1696: Repository fails to restart on Windows

Use file locking to prevent anyone else from opening an already open TarMK

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