moved db interfaces and traits back to yii/db.