Fixed xen.sync task, added nagios.sync task, updated generic task runner method