Added options parameter to twig API in BaseExtension

Usefull for things like [is_safe](http://twig.sensiolabs.org/doc/advanced.html#automatic-escaping)