[#33805] Only try to find a search page if the request Itemid is not a search page.

Also, find search pages by component id, not link string

Fixes this tracker item: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=33805
Ah, I see, menu items have such a property. This simplifies a few things.