fixes #5773 - redirect to referrer URL that includes page and search

@domcleal, @GregSutcliffe, ok will add this feature to AutoCompleteSearch mixin