Add support to set read only from scripts
Summary:
This makes it possible to set the read only state from
scripts. Requires Poppler master with the patch attached to the parent task.
Reviewers: Okular
Subscribers: aacid
Tags: Okular
Maniphest Tasks: T8097
Differential Revision: https://phabricator.kde.org/D10867