IOVDbFolder: Use AthMessaging and fix setting of message level
Inherit from AthMessaging
and set our own message level to the one
from IOVDbSvc. This fixes a problem introduced with https://gitlab.cern.ch/atlas/athenaprivate1/-/merge_requests/16127#note_3634697 where it was no longer possible to set the OutputLevel of messages originating from IOVDbFolder.
Also some general code cleanup and fix a few cppcheck warnings.
cc @sroe