New permission system using abstracted interface. Cleaner implementation and should prevent class loading issues from static class references (WEPIF).
Hopefully got everything restored from before the crash, not tested yet but checking in now to be safe.