Add new config parameter `exec-if = cmd` that needs to exit successfully before the main exec command will be invoked. Closes #298
Split the script module into one tailing output module and one exec once module. Refs #281