Add extensions support to yii\twig\ViewRenderer