[2.5] silence deprecation notices in new components
Merge branch '2.5' into 2.6

* 2.5:
  [2.5] silence deprecation notices in new components
  [TwigBundle] added missing absolute URL in Twig exceptions