Refactor: libpacemaker,libcrmcommon: move pcmk__new_logger()
... from libpacemaker to libcrmcommon, to keep relatively generic output code
together.
As part of this, the message registration is moved to the caller. Not all
callers will need the scheduler messages (specifically, the controller
doesn't), so this makes it more generic.