function __notify_changed(name, value) {
        for (var i=0; i<listeners.length; i++)
            listeners[i](name, value);
    }
Notifies all listeners that an item has changed.

@param {String} name The name of the item that changed.
@param value The new item value.