Added a SearchForm instance to Flask's global g.
This is done in the before_request handler. We need to be able to access the search form in the universal navigation bar.
Of course, this means that it must be available to all templates, and that means it must be in g.