Align dynamic import pre-checking more closely with the resolver itself; this makes it
more accurate, but it is still not 100% accurate since it doesn't take into account
resolver hooks. (FELIX-3766)


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