Stuff for document signing.

This code provides dialogs, and infrastructure wrapping libxmlsec that
implements document signing.