Make template.html mobile-friendly

Add a meta charset (in case servers don't send the "Content-Type:text/html; charset=utf-8" response header); add a meta viewport element to make the page responsive; and remove the margin from the body element that's inherited from the and user agent stylesheet, which eliminates the horizontal scrollbars caused by the 100% width on the #main element.