Fix broken vim modeline in xml files.

* docs/ekg2book-en/develbook.xml: vim: Use fenc instead of enc.
* docs/ekg2book-en/faq.xml: Ditto.
* docs/ekg2book-en/userbook.xml: Ditto.
* docs/ekg2book/develbook.xml: Ditto.
* docs/ekg2book/faq.xml: Ditto.
* docs/ekg2book/userbook.xml: Ditto.
* plugins/logsqlite/doc.xml: Ditto.
* plugins/python/doc.xml: Ditto.
Fix faulty default theme generating oneliner.

grep | cut | perl was rather insane way of doing simple task and RE used
in perl was faulty (greedy any char separator between quotation marks).
Replace it with sed fed up via find+xargs (no -print0 for better
portability).

    find . -name '*.c' -type f | xargs sed \
        '/^[ \t]*format_add("/!d;s///;s/"[^"]*"\(.*\)".*/ \1/'

Comparison of sorted results (diff -u old new | diffstat)
- master: 6 insertions(+), 1132 deletions(-)
- 0.3.1:  6 insertions(+), 20 deletions(-)

Notable changes:

-icq_auth_subscribe  to refuse. Reason: %T%3%n
+icq_auth_subscribe %> (%1) %T%2%n asks for authorisation. Use \"/auth -a %2\" to accept, \"/auth -d %2 [reason]\" to refuse. Reason: %T%3%n

-inet_addr_failed .%n\n
+inet_addr_failed %! (%1) Invalid \"server\".%n\n

-jabber_auth_rejectnoreq  to force unauth.\n
+jabber_auth_rejectnoreq %! (%2) No pending authorization request from %T%1%n. Use \"/auth -d %1\" to force unauth.\n

-jabber_auth_subscribe  to refuse.%n\n
+jabber_auth_subscribe %> (%2) %T%1%n asks for authorisation. Use \"/auth -a %1\" to accept, \"/auth -d %1\" to refuse.%n\n

+jabber_auth_unsubscribe %> (%2) %T%1%n asks for removal. Use \"/auth -d %1\" to delete.%n\n

But there is also screwed: jabber_muc_room_created.

* docs/ekg2book-en/develbook.xml: Improve theme oneliner.
* docs/ekg2book/develbook.xml: Ditto.
Do not split format_add() calls across many lines.

Now, default theme generating oneliner should work flawlessly.

Fixed keys:
- gpg_key_set_newf
- gpg_key_set_new
- header
- jabber_gpg_fail
- jabber_muc_room_created
- passwd_possible_abuse
- remote_welcome
- RPL_WHOISUSER
- RPL_WHOWASUSER
- statusbar

* contrib/ekg_hash_benchmark.inc: Join splitted format_add() calls.
* ekg/themes.c: Ditto.
* plugins/gpg/gpg.c: Ditto.
* plugins/irc/irc.c: Ditto.
* plugins/jabber/jabber.c: Ditto.
* plugins/ncurses/main.c: Ditto.
* remote/themes.c: Ditto.
Improve default theme generating oneliner.

Use find's '-exec command {} +' instead of xargs. It should be there in
the first place. Mea culpa.

* docs/ekg2book-en/develbook.xml: oneliner: Don't use xargs.
* docs/ekg2book/develbook.xml: Ditto.
More friendly /set string<CR> behaviour.

If one types:
/set log<CR>
all settings that contain "log" are displayed.
../Msgs/223.txt
Fix memory leak in IRC plugin.
Merge pull request #22 from Enlik/preq-irc-memleak

Fix memory leak in IRC plugin.
irc: detect LF in incoming stream

Some servers use LF instead of CRLF.
Example: irc.inn.at.euirc.net
Input stream handling moved to plugin.
Improve user feedback with /set command.
Stop debug window scroll.
Funny char is better then segv
revert connection handler parameters
add new disconnect function
polchat plugin reanimation
fix typo
Infrastructure for registering and running abort handlers.

Includes unit tests.
Helper macro for ignoring results without warnings.
Make the fatal signal handlers async-signal-safe again.

Currently ekg2 likes to deadlock when it segfaults in a malloc/free because the
debug functions try to execute malloc/free again, and they are not necessarily
reentrant.

Remove a lot of the fancy things that ekg2 does on such signals and keep the
bare minimum with the goal of being able to produce usable corefiles again and
restoring terminal state to sanity.

Also, no longer change the current directory to the config dir - users
generally expect programs to dump core in the directory they were started in.