Clear cache before module upgrade.
Merge pull request #1942 from cmfcmf/clear-cache-on-upgrade

Clear cache before module upgrade.