fix modules variable scope in rsyslog.conf template, refs #78 and #74
change custom_config handling in rsyslog::server, refs #78 and #74