Init the parser if no global data is set

Without doing this the parser will not exist and will pass NULL to
the Twig_Lexer which causes it to fail.
Merge pull request #60 from tomschlick/patch-1

Init the parser if no global data is set