refactored class

add - TemplateZ to create TZ object, like Handlebars
       - refactored base and Tz Class.
changed - TemplateZ.register('mytag', func) -> TemplateZ.on('tag',
'mytag', func)