Move registering template globals from Twig Extension to Container Compiler Pass.
Merge pull request #116 from rn0/issue_114_1

Register template globals via compiler pass