Fix mako templates on Pyramid 1.5

As of Pyramid 1.5, Mako templates are no longer configured by default.
See http://docs.pylonsproject.org/projects/pyramid/en/1.5-branch/whatsnew-1.5.html

This probably breaks things on Pyramid <1.5 so you should keep it around for when you update.