sasl: add hook: sasl_may_impersonate for other modules like groupserv
groupserv: provide a hook for sasl_may_impersonate

This hook checks privileges for every group a user is in in the `impersonate:entity:` namespace.
scripting: update code generator for sasl_may_impersonate hook
exttarget/chanacs: try to fix $chanacs: target