make syslog python3 compatble
Add regex replacement support
Improve template interpolation speed by preparing templates
Add unset.