OAK-1292 Avoid async indexer commits when there are no changes to index



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