Make ActiveRecord::getNamespacedClass() static
A simple patch to get AspectMock and Go Aop working with Yii2

This is a very tiny patch that changes nothing in code logic, but is required to get [AspectMock](https://github.com/Codeception/AspectMock) and Go Aop working with Yii2. 

Go Aop is processing all `include` and `require` directives, replacing them with its filters. Unfortunately it doesn't play well with one-liners. So I had to break the code into few lines to get that working. 

I was trying to fix this issue in [Go Aop](https://github.com/lisachenko/go-aop-php/pull/78) but looks like, the only option is to fix that in Yii2.

AspectMock can dramaticly improve unit testing in Yii2, and I plan to do a blogpost with tutorial about it.
formatting fix
formatting fix
Merge pull request #697 from DavertMik/patch-1

A simple patch to get AspectMock and Go Aop working with Yii2
Merge pull request #696 from creocoder/ar-getnamespacedclass-static

Make ActiveRecord::getNamespacedClass() static
GridView WIP
ActiveRecord::getNamespacedClass() call style
Merge pull request #702 from creocoder/ar-getnamespacedclass-call-type

ActiveRecord::getNamespacedClass() call style
Avoid logging db errors repeatedly.
fixes #684
Merge branch 'master' of github.com:yiisoft/yii2
Fixed the issue that ActiveQuery::one() doesn't bring back related objects when asArray is true.
Renamed DataColumn::type to format.
Added GridView::dataColumnClass.
Add encodeLabels configure

Please, review and approval.
Thanks
Merge pull request #707 from yiidevelop/patch-2

Add encodeLabels configure
Display debug toolbar on error pages.
Merge branch 'master' of github.com:yiisoft/yii2
requirements: fixed intl version checking
fixed length constraints check to always result in correct range