Refactor: tools: Reimplement mon_refresh_display with library functions.
At this point, it's basically doing the same things as
pcmk__output_cluster_status, although with some extra stuff around
daemonizing, error handling, and the main loop. Keep
mon_refresh_display for those reasons but take out everything else it's
doing and just have it call a library.