[TASK] Ensure rebuilding of CE definitions file happens always
[TASK] Adapt clear cache method to support 6.2 and 6.1

On 6.2: destroys the cache file only if "clear system caches" is used.

On 6.1: destroys the file if "clear configuration caches" is used.
Merge pull request #122 from NamelessCoder/configrebuild

[TASK] Improve rebuilding of cached CE definitions