fix for when we automatically need to create a new PageTemplateConfiguration
also fixed it in the twig extension
Merge pull request #83 from Kunstmaan/fix_create_page_template_configuration

fix for when we automatically need to create a new PageTemplateConfiguration