Move much of crm_ticket into libpacemaker
The first eight commits could be broken out into their own PR.
One piece potentially missing here is that allow_modification is still in crm_ticket. This code doesn't exist in any of the library functions. Perhaps it needs to be moved over and called, though.
Added a patch to deal with allow_modification, rebased on main.
I've split out all the intro stuff into its own PR, which this one is now built on top of (and also duplicates those patches, for the moment). Not everything here is done, but I want to get the prep stuff out of the way first and then we can finish the more complicated parts of this one.