Rewrite modes type to be better suited to IRC.

- Rewrite bans to take advantage of the new plumbing in modes.