Upgrade yii

Make some fixes(mostly about vendor folder). Merge with lates dev. No fix  for beforeSubmit