change context.templateName to context.__templateName and fix null templateNames on directly loaded templates used as partials
Add context.getTemplateName function, unit test for template names in partials, and dist files
revert to not changing the internal templateName var, and use getTemplateName() internally
add dist files for 2.2.2
catch up to master
Merge pull request #368 from prashn64/compiled-template-name

Add context.getTemplateName. This method now correctly returns the template name even for directly loaded templates being used as partials. For end users please use this api for getting the template name instead of ctx.templatename