Protocolcache: Improve accounting for vary callbacks. Fixes [bug 6520 (#6520)]. Adds accounting of vary callbacks. The accounting for leaf entries was off due to changes in the key size. Increases accounting cost for leaf entries to account for the metadata mapping. Make clear_some_cache() available to be called from externally. Rev: server/base_server/configuration.pike:1.729