feat(plugins): Make default template easier to hook

This adds more template directives to make default template more customizable through plugins using directives.on.new event.

This also fix timespans not properly displayed and data binded.

Close #228