code format by PHP-CS-Fixer (https://github.com/fabpot/PHP-CS-Fixer)
format by phpStorm
fix #1536
fix CHANGELOG
fix config/main.php comments
Merge pull request #1596 from chemezov/psr-fix

Форматирование кода по стандартам PSR-1/PSR-2