[TwigBundle] fixed compiler pass error
[TwigBundle] added conditions for routing & httpkernel extensions