OAK-1406: Background operations block writes

- better decouple background write from local commits

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