update for further support of pyramid_mako

I wouldn't merge this until the new pyramid_mako is released, and then you might want to pin setup.py to at least the new version of pyramid_mako