API: libpacemaker: Add a function for deleting resources.
This is the same functionality as "crm_resource --delete", but in a pair
of public and private functions. crm_resource has then been modified to
just call the private function instead of doing this on its own.
Ref T44