Fixes to codec generator

- we do NOT use camelCase, please
- we do NOT use variable names like 'i'
Simplified use of class.has_repeats
Added zlog (syslog) support into server engine
Merge pull request #43 from hintjens/master

Minor code cleanups