Add Twig extension for Symfony2