Refactor: daemons: Use the new attribute setting functions.
This gets rid of the uses of the older named functions and switches the
controller daemon to using the new functions that take a pcmk__output_t.
Just like in the scheduler, we construct a special logger object and use
that everywhere.