Do not refresh appstream metadata everytime
Summary:
Refresh appstream metadata only in case they have never been refreshed or when the cache is
older than 6 hours.
Reviewers: apol
Reviewed By: apol
Subscribers: plasma-devel
Tags: Plasma
Differential Revision: https://phabricator.kde.org/D7177