[OE-3914] fixed collation
fixed references to Yii::app()->db
Merge branch 'master' into feature/table-versioning