[checkmk-commits] Rework helper function of notifications, support alert handlers