Refactor: tools: Move some of crm_mon's main into functions.
This adds add_output_args and reconcile_output_format, which are just
chunks out of the main function that can easily become their own
functions. This is to make it easier to rearrange main in the future.