transaction callback added

Added transaction callback shortcut . Related with [this](https://github.com/yiisoft/yii2/issues/3384) issue 
i dont think that there is some valid use cases, usually user should not interact with transaction here. He is only interested in full commit or rollback, he have nothing to do with transaction object. Also it is not a DI.