refs #1340. Moved get_search_form method from context_processor into tab view to maintain stickiness.  This also avoids calling get_search_form on all pages.  Updated getUrlVars javascript function.