Minor code style fixes for apidoc
Fixes #2659
Fixes #2655: Arrayable and ArrayableTrait are incompatible for some PHP versions.
Update console-migrate.md

Corrected 'class' parameter
Fixed test break.
Merge pull request #2660 from EmilHaukeland/patch-2

Corrected 'class' parameter
Added back some toArray() implementations.
Refactored controller creation process.
Fixes #2661: Added boolean column type support for SQLite
Merge branch 'master' of https://github.com/yiisoft/yii2 into travis-advanced-app