Added fix for supporting PHP5.3

    * Updated Twig Extension moved resolved path as a static function which
    can be referenced from within a callable.