Support log destinations and syslog facility customization

This supports turning on and off stderr and syslog output modes, and
targeting the syslog output against specific syslog facilities.

Supersedes #136.  @rodo, what do you think?