256 colour support for Irssi

These two patches implement 256 colour and true colour support for
Irssi.

For more details, please refer to the patch documentation at either
http://irssi-docs.wikispaces.com/Notes-256-color or
https://github.com/shabble/irssi-docs/wiki/Notes-256-Colour