SLING-2617 : Make sure the dynamic class loader used as the parent to the repository class loader is acquired for the same bundle which acquired the ClassLoaderWriter

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