Merge pull request #2129 from clumens/crm_resource-glib
Convert crm_resource to use glib for command line handling