Fix: tools: Improve crm_mon output with certain option combinations
This refactors a new function get_resource_display_options() to use
the same logic to set the pe_print_options bitmask for plain, XML and HTML
output formats. The only behavioral changes this makes are:
- If --show-detail and --as-html are both specified, clone details are now shown.
- If --group-by-node, --inactive and --brief are all specified, an inactive
group will now correctly be displayed briefly rather than in long format.