Define full library schemas in OpenAPI spec and regenerate types.
Rewrite v1 library handler with Profilarr profile matching, add
episodes endpoint for Sonarr. Update frontend to use v1 URLs and
fix ImportReleasesModal for new response shape. Delete legacy
/api/arr/[id]/library endpoints.