JCR-3382 let getNode do a permission check when the item is in the item manager cache: applying patch by Frank van Lankvelt.

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