Use getDeclaredMethod when looking for the framework method that gives us the urlhandlers and fix a bug when running in different classloaders (FELIX-3840).

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