I got cold feet. I don't want to have to revert this many years later
instead, when some obscure 3rd-party software stops working.
This reverts commit e1ce7bad62.
Stuff for document signing. This code provides dialogs, and infrastructure wrapping libxmlsec that implements document signing.