OAK-1156 - Improve the document cache invalidation logic to selectivly invalidate doc

Adding and removing some todos

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