Lets expose template tag attributes to packages developers

By doing this we allow package authors to capture these attributes (e.g. they can create a proxy for `Template.__define__` method) and customize the template registration routine. Untill now, the only way to do it was to change file extensions form `html` to something else and to register another build plugin, which would be more or less a copy of `/packages/templating/plugin`.