OAK-527: permissions (tests)

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1478707 13f79535-47bb-0310-9956-ffa450edef68
OAK-774 : Calculate readstatus upon initialization of permission provider (test patch provided by antonio sanso plus some initial tests including restrictions)

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

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