Fix: tools: improve crm_report's cluster configuration output
Don't try to run crm_uuid if it doesn't exist, properly handle Pacemaker Remote
nodes when dumping the cluster status and configuration, and properly dump
configuration info when the cluster uses pcs instead of crm.
This also refactors a new function is_running() to reduce
code duplication and make the code more readable.