transaction callback added

Added transaction callback shortcut . Related with [this](https://github.com/yiisoft/yii2/issues/3384) issue 
How? You repeat the same `try..catch..` in multiple places? Note that within `updateArticles()` you may not want to use transaction.