Added role permissions. Recoded role editing interface
Tidy
Changed to show root group type
Added permissions to groups