New script: irclogs.py

Generate IRC log archive pages for mantisbt.org based on files saved by
mantisbot / ChannelLogger plugin

Processes the Supybot ChannelLogger's log directory, generates html
pages for the IRC logs (assumes no leading '#' on filenames) using
Marius Gedminas' logs2html script [1], and copies them (rsync) to the
webserver's directory.

See [2] and [3] for further details

[1] http://mg.pov.lt/irclog2html/
[2] http://www.mantisbt.org/wiki/doku.php/mantisbt:irc_logs
[3] http://www.mantisbt.org/wiki/doku.php/mantisbt:irc_mantisbot

Loosely based on jreese's original script
Revised and improved irclogs.py
Set executable flags for irclogs.py
irclogs.py: exclude index.php from rsync
irclogs.py: set final source and target dirs
irclogs.py: remove createIndex function

Not needed anymore, we handle this through the irclogs.php page on the
web site.
irclogs.py: add error checking for source+target dirs
Added new irclogs.py script to process mantisbot's logs

Details in wiki
http://www.mantisbt.org/wiki/doku.php/mantisbt:irc_logs
irclogs.py: improved logging including start+end with timestamp
irclogs.py: use subprocess instead of os.system

Added error handling and logging.
irclogs.py: don't exclude index.php from rsync

Maintenance is easier if the redirection pages and symbolic links are on
the source rather than the target.
irclogs.py: follow PEP8 coding guidelines
irclogs.py: generate redirection page

Backwards-compatibility for links saved before change of dir structure