Fix db thread issue in Imagestorage
Summary: The database and thus addImage must be called from the thread ImageStorage belongs to
Test Plan: No db error when adding an image any more
Reviewers: mart
Reviewed By: mart
Differential Revision: https://phabricator.kde.org/D24341