Move registering template globals from Twig Extension to Container Compiler Pass
Closes #114