Allow setting type attribute on script block tags

Allow setting type attribute on script blocks. For HtmlHelper::scriptBlock, HtmlHelper::scriptStart + scriptEnd. This allows printing out inline templates, like Handlebars.

Last commit (36334c14ac88f4b5eb090b6fd5180781f20bf767) is optional. Just removes 2 unused lines.