Link Discovery matches to the library, add universal song+album search

GET /discovery/history now matches each hit against the caller's own
library (title+artist, case-insensitive) and includes library_song_id
when found - computed live on every read rather than persisted, so it
stays correct if the library changes later (a song added after the
hit, or later deleted) instead of going stale like a stored link would.

POST /library/search is now a real universal search: songs (existing
title/artist/genre match) plus albums, a derived (album, artist)
grouping of the caller's own songs - there's no separate Album table,
so an album only appears when it has a name and at least one matching
song. Albums match on album name or artist, not song title, so
searching one track doesn't surface an unrelated album.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
1 job from dev in 5 minutes and 20 seconds (queued for 4 seconds)
Status Job ID Name Coverage
  Test
passed #4388
test

05:20