fix beforeSave for console
set unknown user to null
Merge pull request #1489 from Technopoint/console

Корректировка модели Settings для работы из консоли
fix gii template files
Merge pull request #1491 from chemezov/fix-gii

Fix #1490
Merge branch 'master' into dev
small fix