Fixes issue #172: Implemented new usage of widgets.
Merge branch 'master' of https://github.com/yiisoft/yii2