Fix templates:each to not output empty element. Strip data-template attributes from HTML output unless configuration option "debug" is set to true.