Set some of the variables passed to templates as global variables.
Set some of the variables passed to templates as global variables.

This makes sense as those should be static values available to every template.

Additionally, add a "templateId" variable that we can use for templates to identify themselves.

ghalse/simplesamlphp,simplesamlphp/simplesamlphp,simplesamlphp/simplesamlphp,dnmvisser/simplesamlphp,dnmvisser/simplesamlphp,ghalse/simplesamlphp,simplesamlphp/simplesamlphp,ghalse/simplesamlphp,ghalse/simplesamlphp,dnmvisser/simplesamlphp,dnmvisser/simplesamlphp,simplesamlphp/simplesamlphp