Log: scheduler: improve messages when adding actions to transition graph
This is mainly for trace messages to help debugging. This consistently formats
related messages, includes more information in some cases, and reduces message
duplication.
This also does some trivial refactoring to use more current practices, mainly
using bool/true/false instead of gboolean/TRUE/FALSE where not glib-related,
and using non-deprecated (pe_*) object names.