Refactor: libcrmcommon: Move XML element functions to xml_element.c
Closes T815
Signed-off-by: Reid Wahl <nrwahl@protonmail.com>