Further simplification of sender-receiver

Like CDM, there was a lot of duplicated code here (albeit less so than
in CDM), so now the SR just has generic function names like onAdd and
onEdit rather than onTaskAdd and onFolderAdd