Fix navbar search form

The navbar search form now uses bootstrap classes, which aligns the
form correctly in the navbar and styles it to match the rest of the
page.

This commit also removes a redundent table header column and javascript
from the residue table.