Change config macros
Replace calls to fprintf with new tr_* macros
Add syslog to the default main config (disabled by default)
Config parser changes
Update examples to use logging macros
Rename methods