Changed module security to make use of more of Java's built in security support, allowing doPrivileged blocks to be supported (allows contain code to run with the permissions of its definer, rather than the call stack). Wiped existing allowedPermission settings. Added full privileges to logback.