Minor cleaning to the bans plugin
Yet more cleaning
Unify notification rate limiting