Embed constants into lib{base,icinga,db_ido}.

Fixes #5247
Update log level for some messages.

Fixes #5357