transaction callback added

Added transaction callback shortcut . Related with [this](https://github.com/yiisoft/yii2/issues/3384) issue 
What if you want to use the same piece of transaction code in multiple places?
In general, unless there is a very strong reason, we should not differentiate different kinds of callables.