[TASK] Improve rebuilding of cached CE definitions

Improves handling of cache clear commands and triggers rebuilding of the cached file whenever the ConfigurationService gets initialised.

Is safe on 6.2 now that the class loader has been corrected.