Add yii events for app run

Add yii2 application events as mentioned in #1262 see: https://github.com/Codeception/Codeception/issues/1262#issuecomment-52208406