Refactor: scheduler: move notification code from libpacemaker to libpe_status
... to continue moving toward isolating variant data access to libpe_status.
This does not change the code other than where the header declarations are.
The function prefix will be changed from pcmk__ to pe__ in a separate commit
for easier review.