LPS-41286 Setup the JavaDetector before configuring our security manager so we can prevent potential inconsistencies when the constructor of the JavaDetector is invoked. Some application servers could cause this situation when doing a direct use of the policy
LPS-41286 Provide security options only when the java.security is set to true during the unzip of the bundle. Otherwhise don't include any reference to the security options. We should apply this pattern to jetty and geronimo which could cause some errors during startup
LPS-41286 Fix double equal