Logging for CGI scripts and Kraknet HTML pages

stderr output from CGI scripts and from modules called from HTML
documents with the Kraknet system is now logged to $log_root/cgi.log.
By default, this is logs/ at the root of the server.