transaction callback added

Added transaction callback shortcut . Related with [this](https://github.com/yiisoft/yii2/issues/3384) issue 
In this case I think it would create a big mess if it will be callback-method and it's better to use `beginTransaction` instead.