[ignore] organise functions that operate on the user context
[refactor] Consistent naming of permission function classes
[ignore] Ignore NPE
[bugfix] Don't discriminate
[ignore] Removed unused import
[feature] Added the sm:id() function to look up real and effective account details
[refactor] xmldb:get-current-user() is deprecated by sm:id()