Several improvements, license change.

  Switch to BSD license, add argument parsing, support testing better,
  organize code a bit more, add Irssi metadata, be more specific about
  allowed channels, provide responses one line at a time, to avoid IRC
  line length issues with multiple tickets, be more tolerant of low
  ticket numbers if they are explicitly PROJECT-n.