Adding a function to execute local applications

We'll mostly use this to trigger the zabbix_sender program when we want
to send data or events to the central monitoring service.