update for further support of pyramid_mako
fixed tests
prep for 1.0.9