Use search instead of match to find unresolved links.

Warn for unexpanded macros.

(cherry picked from commit d15e3a7e62b79fa0f74f50463e46cd7d05a345b7)

Conflicts:
	_scripts/cfdoc_sourcelinks.py
If function has no attributes, replace macro with empty line.

Returning an empty list of lines from a macro function indicates
error and leaves the macro unexpanded for diagnostics.
Using function_attributes for functions with no parameters is not
wrong, so allow it by returning a single empty line.

(cherry picked from commit 898020de174486490b3656bd7e224e0b804b3ba0)
Autocommit: libraries changed 2014-06-17-14:05:21