Add meta and defaults to normal order list
closes redmine #2006
Introduce UnexpectedError to handle non-fatal failures.

The error message is printed to stderr, and the function does not exit.
Fix linking after introduction of Unexpected Error
Handle return value from various C library and system calls
in cf-monitord and documentation tools.
Handle return values from chmod/chown/chdir
Handle parse errors in scanf calls.
Handle error code from fgets.

Also note that fgets should receive the size of the buffer including the
null terminator (ie writes num-1 bytes and sets the null terminator).
Merge pull request #293 from vohi/squash_warnings

Silence compiler warnings (esp on Ubuntu 12) by handling return codes from various system and C standard-library function calls. In most cases, no action taken other than logging the problem with CfOut or UnexpectedError.
Remove struct Constraint intrusive list, replace with Seq
Very small typo fix
Adding a VPrintf function to buffer

While replacing static buffers I found out that we use vprintf a lot, therefore I implemented one in Buffer.
Unit tests are included.
Avoid error output when reading from /proc/stat
Merge branch 'squash_warnings'
Merge pull request #302 from cduclos/master

vprintf implementation
Move PCRE checks to single place (Redmine #2015)
Do not link to libPW on HP-UX (Redmine #2089)
ACL manipulation under Solaris is not implemented, no need to link against libsec
CFEngine does not use libelf on Solaris anymore
Solaris' libdoor.so is not used in CFEngine for a long time
One off error in test case

For some reason on one machine the buffers included one '\0' before the end, therefore the size calculations were all wrong.