OAK-702: Optimize access to node type information

Move the static get{Property,Node}Definition methods to EffectiveNodeType, i.e. replacing static m(o, ...) calls with o.m(...)

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