Add support for logging to a file.

Added new config options to serer.json "logfile".

This specifies a file to write all log messages too (along with
stderr, and the internal log cache served to the web). There is no
support for file rotation of any kind, not even reopening the file if
it's closed.