[WFLY-4172] Enable the -secmgr parameter for tests if the security.manager property is defined.
Enable security manager extension by default.
Fix up the generated permissions.xml generator.
Add permissions to failing web integration tests for running under a security manager.