Remove cruft from gateway object

Things that should be Network-local now look for properties on the Network
object rather than on the Gateway object.

client-side ignore functionality is now per-network rather than global.
Merge branch 'gateway' of https://github.com/M2Ys4U/KiwiIRC into M2Ys4U-gateway
channel.js formatting