Rename loginHtml -> loginTmpl
Extract expand_templates
Extract read_templates
Auto-determine mediaURL based on script path
Bump setup.js version
Don't leave history entry for /a/ redirect
Make outbound URLs absolute
Fix Google search-by-image URL