Squashed commit of the following:

commit c5bad9ea1b88adffe41390a9de13cea9bf0189f8
Author: Qiang Xue <qiang.xue@gmail.com>
Date:   Wed May 8 09:39:34 2013 -0400

    Fixes issue #172: Added Object::className().

commit 2dd51d5b46b75d179dbc7cf0c239b303370fafd9
Author: Qiang Xue <qiang.xue@gmail.com>
Date:   Wed May 8 07:16:48 2013 -0400

    Fixes issue #177.

commit 01ae01508838864d3a450f1163924beb6b4f78b1
Author: Qiang Xue <qiang.xue@gmail.com>
Date:   Wed May 8 06:58:34 2013 -0400

    Fixes issue #180: DbSession crashes with autoStart

commit 51357e58f091a68f2950513604cc7633d7416747
Author: Carsten Brandt <mail@cebe.cc>
Date:   Wed May 8 12:46:54 2013 +0200

    more console helper and controller refactoring

    changed name of ansi switch to --colors
    https://github.com/yiisoft/yii2/commit/69cad905dd049be9d9b35d8103cd60591e13c6ae#commitcomment-3168489
    issue #33

commit fc5045fd0c7eef429abc3f3495adee5fd720026d
Author: Carsten Brandt <mail@cebe.cc>
Date:   Wed May 8 12:16:30 2013 +0200

    Fixed Copy paste error console/Controller

    also naming of formatString -> ansiFormat