Implement more PermissionManager methods

Implement a lot more permissions methods.

Also, makes PermissionManager send warnings on upper-case group names, and only need conn (not bot) in constructor.

Note that due to modifying core/irc.py, this patch is incompatible with #252. It shouldn't be that hard to work out, and if you pull one, I'll fix the other one.