fixed mako renderer returning a tuple with a previous defname value in some circumstances
added mako renderer test
added deprecation warning for mako tuple
added bug fix to changes
fixed line indentation
Merge pull request #1082 from Pylons/fix.mako.partial.1037

Fix.mako.partial.1037