Make Yii soft dependency

Following discussion in #5