sqlite: Connection: Use heterogeneous lookups for hooks
sqlite: Connection: Use heterogeneous lookups for hooks

This saves a temporary std::string construction/destruction each time
the hook is invoked, which is at least once per modification request,
and more when triggers are involved

chouquette/medialibrary,chouquette/medialibrary,chouquette/medialibrary,chouquette/medialibrary