Use the default java security policy if no security provider is present and don't check for allpermission if an extension bundle is installed and there is no security manager present. (FELIX-3961,FELIX-3950)

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