Fixes #2204
For Imagine v0.5 (previous code was for 0.6 dev)
let application exit with code 1 on error/exception in console

fixes #2233
Fixes for #2236
Merge pull request #2239 from creocoder/aliases-fix

Wrong path fixes
Update .gitignore

Local files should not be committed to version control
Update README.md

Fix path to config in readme
Merge pull request #2242 from Theill11/patch-2

Update README.md
Merge pull request #2241 from Theill11/patch-1

Update .gitignore
Improved  to support aliases. Fixes #2240.
Merge branch 'master' of git://github.com/yiisoft/yii2 into 2240-am-aliases
Fixes #2237: added Scrutinizer check.
Merge pull request #2243 from vova07/2240-am-aliases

2240 am aliases
Moved most of the user-related logic into form models
Extracted password-related code into User model methods
Fixed the fact that there's SafeValidator
Allow multilevel dropdown.
Locked Codeception versions since master is under heavy refactoring
#2248: Renamed `yii\base\Model::DEFAULT_SCENARIO` to `yii\base\Model::SCENARIO_DEFAULT`
Added array initialization