Run actions on invite
Require a minimum channel status to use the INVITE command

This check was missing. I'm not sure if this was intentional, but in my opinion
it should be there, since the INVITE command is rather pointless if any user in
the channel can invite other people.
Implement the KNOCK module
Merge pull request #96 from Heufneutje/module-knock

INVITE changes and KNOCK module