Update irc.c to use irc-macros.h

This includes code cleanups and better documentation for some
functions, too.
Commands.txt: Update description of the "ERROR" command
Add "compile" to .gitignore file