Fix 0.8.2 support

this.__templateName is only available from v0.8.3
Merge pull request #33 from meteorhacks/fix-support-for-0.8.2

Fix 0.8.2 support