[bug][28389] Search Form Results Menu type and Basic options.
Closes #1483
[bug][33914] Fix ACL of redirect manager; Fix #3889
Do not insert an Itemid field in the search form.
Add an Itemid field only if we really need it (when Itemid is not implicit in the routed URL or included in the query string).