Fix #158: Clean cache when updating configuration or installing/uninstalling a template
Fix small bug in alias redirection inside routing
Merge pull request #1742 from mahagr/master

Fix #158: Clean cache, Fix small bug in alias redirection inside routing