- repace deprecated "ad_permission_grant" by "permission::grant"
- repace deprecated "ad_permission_revoke" by "permission::revoke"
- replace "global" by namespaced vars
- fix bug from dirty buffer
- generalize handling of util_memoize a little
- switch back to interface with names rather than ids
- reduce verbosity