Fix #4630: automatic generating of unique slug value to `yii\behaviors\Sluggable`

Fixes #4630
Added automatic generating of unique slug value to `yii\behaviors\Sluggable`
I think the model object should also be passed as a parameter.