API: libcrmcommon: drop pcmk_resource_t pending_task member
Move it to pcmk__resource_private_t and rename to pending_action.
Also, update variable names etc. for naming change, and always compare
case-sensitively.
This breaks API backward compatibility.