yiisoft/yii2 — pull request #548 by cebe (2013-06-16 16:22:49+00:00)
Title: implementation of Response tied to actions

Result of a discussion with @qiangxue
- there is not global Yii::$app->response anymore, every action has
dedicated response class
- implementation allows using HMVC pattern now, nested actions do not
interfer

@qiangxue the final result is even better than discussed as `Action::run()` now still returns the content or data array while `Controller->runAction()` will return response.

This is to handle action return code in console and web differently.