Fixed generation of the HTML class attribute for the data model
* @see https://github.com/yiisoft/yii/issues/129
* @see https://github.com/yiisoft/yii/pull/1808