Update pyramid_py2 template

Basically, copied stuff from pyramid_py3 template over to pyramid_py2 and made modifications where required.