transaction callback added

Added transaction callback shortcut . Related with [this](https://github.com/yiisoft/yii2/issues/3384) issue 
as i said i am against this, so i think your question is for @qiangxue i guess