Adds Twig debug extension if application is not in production environment

Enables the use of the `dump()` function in Twig templates when not in production.