OAK-709: Consider moving permission evaluation to the node state level (intermediate commit to finally move down the permission evaluation. open TODOs/FIXMEs marked in the code and listed in the issue)

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