Fixed mako templates incompatibilites with Pyramid 1.5a