Let widget replay search button open in a new tab or window #2726
This PR fixes issue #2725, by changing the widget replay search button with a link, that allows to be opened in a new tab or window in a more standard way.
I also decided to take care of the long overdue task of moving the logic building the replay URL to the
It's better to let `Routes` handle the generation of the replay widget URL, and this moves the logic to do that. The change adds the capability to get search or stream search routes with (optional) query, time range, and resolution parameters. The incomplete `search_with_query` function is still used in the collector plugin, so this still needs a bit of cleanup.