Beginning of long-overdue interface overhaul

Move to HTML5.
Don't cache response.
Use JavaScript to auto-select username field.
Turn off browser autocomplete.
Start phasing out CGI module.
Remove trailing \n from syslog messages where it appears as \012.