Refactor: libcrmcommon: New pcmk__xml_accept_changes()
To replace xml_accept_changes(). For now we basically mimic the logic in
xml_accept_changes(), but perhaps we should be less aggressive or rename
the function to reflect that it's clearing so many things.
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>