Refactor: libcrmcommon: Move XML I/O functions to their own file
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>