Clear translations cache when installing/updating/removing packages

I added a new static method `Localization::clearCache` that flushes the translations cache when packages get installed/upgraded/removed.

PS: the changes to `web/concrete/controllers/single_page/dashboard/extend/install.php` are mostly indentation fixes.