SLING-2739 :  Add methods for handling the resource type hierarchy to the resource resolver 

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