Added additional dependency on ext-apc because it is required for caching.
Changed factory name for the cache adapter and added current locale as shared instance.