'Append \'item\' to the list at \'key\'.  If no list exists for \'key\', then
construct one.'

def safeappend(self, key, item):

    if (key not in self):
        self[key] = []
    self[key].append(item)
