Support to set a different element type in basic container templates.
In addition to the hook, dispatch an initialize event.
Add the class ContaoTwigOptionsBuilder.