transaction callback added

Added transaction callback shortcut . Related with [this](https://github.com/yiisoft/yii2/issues/3384) issue 
>The transaction object is needed to get db.

what for?

>and this is parameter-based DI
new names? )