Fixes issue 380: invalid route exception should be 404.
Merge branch 'master' of github.com:yiisoft/yii2