Refactor: libpacemaker: Recursively copy and restore allowed node tables
Given a resource, these two new functions create copies of the allowed
nodes tables of its entire tree of descendants, or restore from such a
backup copy.
Ref T678
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>