statements: fix for https://github.com/ihrwein/puppet-syslog_ng/issues/6
statement: split the parsing and config generation into two separate parts
Merge pull request #7 from ihrwein/issue-fixes

statements.rb refactoring