Add fields standard query parameter to Job and use it in FileFetchJob.

Authored by barchiesi on May 19 2019, 10:33 AM.

Description

Add fields standard query parameter to Job and use it in FileFetchJob.

Summary:
Add fields standard query parameter to Job and use it in FileFetchJob. This change requires clients using this library to change the way they limit what fields are returned in a FileFetchJob.
Start adding entity field declarations for use with Job::setFields().

See D19948 DRAFT Add Standard Query Parameters support for previous discussions.

Reviewers: dvratil

Subscribers: elvisangelaccio, kde-pim, LibKGAPI

Tags: KDE PIM, LibKGAPI

Differential Revision: https://phabricator.kde.org/D20886