Fix
Исправлена ошибка с удалением шаблонов
Fix observers
Merge remote-tracking branch 'upstream/dev' into dev

Conflicts:
	cms/modules/kodicms/classes/kodicms/controller/front.php
	cms/modules/kodicms/classes/kodicms/controller/layout.php
	cms/modules/snippet/classes/controller/api/snippet.php
	cms/modules/snippet/classes/controller/snippet.php
	cms/modules/snippet/config/permissions.php
	cms/modules/snippet/i18n/ru.php