WIP: Fix various problems relating to numerics.

- Fix modules using numbers with WriteNumeric instead of names.
- Fix modules using numerics which conflict with other IRC daemons.
- Fix various other small problems.