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.
Merge pull request #50 from cfengine-autobuild/autocheckSyntaxMap

Auto Pull Request
Pythonify my python.
Make exception for body common control
Add masterfiles/lib to include directories.

Can now include snippets from library files. Don't have the version
in any config variable, so include macros need to specify version
explicitly for now.
Add /masterfiles and /core/tests to include directories.  Remove /masterfiles/lib
Merge pull request #51 from tzz/add-more-include-directories

Add /masterfiles and /core/tests to include directories.  Remove /masterfiles/lib
Fix typo
Autocommit: libraries changed 2014-04-02-16:43:03