[ALLI-2548] [ALLI-2652] Improvements to searchboxes on record pages (local, PCI and MetaLib): 1. Show 'retain filters' option and preserve active filters if the option is selected when a new search is started. 2. Init searchbox with previous search query if available. 3. Return to previous search list type when a new search is started and the user arrived to the record page from a search list.