Proof-of-concept implementation for setting docProperties in templates.

This PR sets word-document properties for documents created from a word-document template.

A configuration registry entry activates/deactivates this functionality.