Added MODE handler to channel.lua

It hasn't been tested yet and so might not work.