Refactor: libcrmcommon: best practices for static XML functions
Rename to be more consistent with the rest of the code base (i.e. don't prefix
with double underbar or crm_), document any functions we renamed, and use new
standard function return codes where appropriate.