Add URL correct encoding to karma plugin.

[] have to be URL encoded as %5B and %5d,
respectively. Percent signs have to be
doubled as those strings are used as
input for sprintf().

Signed-off-by: Thomas Hochstein <thh@inter.net>
Add URL encoding to CSS and .js links in <HEAD>.

Enocde & as &amp; to make validator happy.

Signed-off-by: Thomas Hochstein <thh@inter.net>
'language="javascript"' is optional.

Signed-off-by: Thomas Hochstein <thh@inter.net>
Merge pull request #181 from th-h/thh-htmlvalidation

Some changes for valid HTML5/HTML5.