Fix: libcrmcommon: Don't always write out a name attribute.
If the name attribute passed to list_item is NULL, do not write out an
empty name="" into the XML. The schema already allows for this
possibility, but the code would never actually do it.