Added environment_class option to override the default Twig_Environment
classname.