Refactor: tools: Use pcmk__ticket_set_attr in crm_ticket.
This is also how all the revoked/granted stuff gets set too, so using
this function allows switching the rest of crm_ticket to API functions.
It also lets me get rid of modify_ticket_state, which is now completely
duplicate code.