Format into small c files to be used by different transports.

This pulls to_json out from zeromq.
removing completely unused file analysisd/alerts/mail.c
Fix csyslogd-config XML syslog location definition
Merge pull request #440 from jrossi/format-stuff

Format breakout format options into small bit of code
Merge pull request #441 from mikey-austin/csyslogd-config-location

Fix csyslogd-config XML syslog location definition
omit messages like: 2014/10/08 13:02:57 ossec-syscheckd: ERROR: Unable to run diff for /lib/modules/3.12.28+/modules.symbols.bin