ZF-10438: Zend_Locale, Zend_Currency cache clearing -> Zend_Locale_Data should use tagging when backend is capable of it


I pass my cache object to Zend_Locale::setCache or Zend_Currency and when I call Zend_*::clearCache() it clears complete cache - no matter who worte it. problem is that one server is used by few projects and they all lose cache.

Since these components use Zend_Locale_data::clearCache() (and for future components that will use) there should be used getCapabilities() to determine whether the cache returns tags. It should use tags rather than clearing it all - if cache is capable of tags - otherwise clear all.

Similar problem was in Zend_Translate : but translate deals with cache inside it's own class.


Added with GH-107