Add support for Python 3.3

Drop support for Python 2.5 or older.

Add a lot of unit tests.

Tiny bugfix: fix error message in irclog2html --style nosuchstyle