API: libpacemaker: Add a function for listing ticket constraints
This is the same functionality as "crm_ticket -c", but in a pair of public and private functions.
Ref T119