Exit with error if unresolved links or macros are found.

This can then block publishing process.
Autocommit: libraries changed 2014-06-19-17:34:50