irkerhook: Fix handling of non-ascii author name

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>

---
for non-ascii input, irkerhook.py dies with:

remote: Traceback (most recent call last):
remote:   File "/usr/bin/irkerhook.py", line 484, in <module>
remote:     ship(extractor, commit, not notify)
remote:   File "/usr/bin/irkerhook.py", line 391, in ship
remote:     metadata = extractor.commit_factory(commit)
remote:   File "/usr/bin/irkerhook.py", line 262, in commit_factory
remote:     metainfo = do("git log -1 '--pretty=format:%an <%ae>|%s' " +
shellquote(commit.commit))
remote:   File "/usr/bin/irkerhook.py", line 50, in do
remote:     return unicode(commands.getstatusoutput(command)[1],
locale.getpreferredencoding() or 'UTF-8')
remote: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in
position 8: ordinal not in range(128)

for e.g. this author name:
$ git log -n1 --pretty="format:%an" | cat;echo
Timo Teräs
$ git log -n1 --pretty="format:%an" | od -x;echo
0000000 6954 6f6d 5420 7265 a4c3 0073
0000013
So:
$ for i in C POSIX en_US.UTF-8;do echo "# $i";LC_ALL=$i python -c
"import locale;print locale.getlocale()[1];print unicode(\"ä\",
locale.getlocale()[1] or 'UTF-8').encode(locale.getlocale()[1] or
'UTF-8')";done
None
ä
None
ä
None
ä
Do not crash when there is a "|" in the commit line

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Prepare for release.
Versin bump for release 1.16.
Typo fix.
Punctuation fix.
Documentation fix.
Truncate messages that are longer than 512 bytes and catch any exceptions irclib throws about rejected messages.

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Ensure connections we consider dead are actually closed

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Version bump for 1.17 release.
Extract commit dates

So they can be handled by the filter hook.
For now, only git is handled.

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Extract commit date for SVN

This gives the same date format as the Git extractor

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Extract commit date for Mercurial

Same as Git, without the last part about timezone though.

Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Added - option; irker ca now be used as a channel monitor.
Typo fixes.
Added option to force nick.
Added -p option.
Prevent actually sending an empty privmsg.
Append mode is required if we're loogging to disk.
Document new options properly.