add syslog_ng::template defined type
Add generate_statement() spec test
Add generate_statement function.