'Add a new container around obj'

def addContainer(self, typ, obj):

    new = self.makeContainer(typ)
    container = self.getContainer(obj)
    container.insert(new, 'before', obj)
    if (obj is not None):
        new.insert(obj)
    self.raiseOverlay()
    return new
