store template name in the global context
tests for _t
update the filename as per the review comments
update tests for the global template name
Merge pull request #274 from vybs/master

GH-266 store rendered template in global