Mostly enable support for checking format strings with -Wformat.

Basically derived from Ratbox 3.1.
extensions: add an uidwhois module
extensions/uidwhois: adjust whois text, code formatting