Fix quick search from non-top level articles.
Temporary fix for quick search form layout on RTD site.
Better temp fix.
Fix httpdomain compatibility issue with Python 2.6