Support promise_attribute macro in control body documentation.

Assume two types of documents in which promise_attribute macro can be used:
Promise type documentation with a ## Attributes section; or
body control documentation with a ## Control Promises section.

Special-casing needed for the exec daemon.