Port the UTC <-> local conversion helpers to QDateTime
Summary: Allows porting the rest step by step and fixes one of the unit tests.
Reviewers: mlaurent
Reviewed By: mlaurent
Subscribers: kde-pim
Tags: KDE PIM
Differential Revision: https://phabricator.kde.org/D21724