Refactor: scheduler: functionize creating notifications for a clone action
... to reduce code duplication, and improve readability and code isolation.
There's some naming confusion at the moment between create_notifications() and
pcmk__create_notifications(), but that will be addressed later.