Add support for dynamic visibility
Summary:
This adds the hidden property to JavaScript fields and
uses it to implement support for HideAction.
Test Plan: Unit test in the next commit.
Reviewers: Okular
Subscribers: aacid
Tags: Okular
Maniphest Tasks: T8274
Differential Revision: https://phabricator.kde.org/D11596