SLING-3899 - applied Marius patch to add the resource resolved to all APIs

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