add support for pyramid_mako and pyramid >= 1.5

You should add here:
`is_pyramid_mako = False`, if not in line 40 will trigger an error.