Add a regression I caused in the search output
Switch tipuesearch to static mode

The `json` mode requires a web server, thus, to make things work with
static files just opened on a filesystem we need to use the `static`
mode.
Update readthedocs to use the `static` mode
Fix issues serving paths with a query string

A limitation of the SimpleHTTPRequestHandler is that it doesn't handle
query strings well. Requests to /?q=search get a slash appended to the
end as if it were a directory, leaving the user at /?q=search/ which
then in turn changes the value of the query string which we process in
JavaScript.

This change hooks into the request process and throws away the query
string so it doesn't cause a redirect.