core: add history.search

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
daemon: implement Search

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>