Use private template name property directly

Fixes TypeError: 'undefined' is not an object (evaluating 'type.template.kind.replace')
Make backward compatible with Meteor <0.8.2
Merge pull request #5 from fuzzie360/master

Add support for Meteor 0.8.3