improve error message, Zendesk #1400
Add missing quotes in shell expression to fix AIX build.
Revert change to libcf-agent building.

It causes every source file in cf-agent to be built twice.
Fix potential hang in unit/logging_timestamp_test

If Log() fails to deliver even one newline, the fgets() later in the
test shall hang indefinitely.  So make sure we send a newline to
stderr after the Log(), to prevent that.  This shouldn't affect the
validity of the timestamp in what's sent ...
Changed server's reconfiguration message to NOTICE so that it's always logged in syslog.
Merge pull request #1857 from jimis/log_server_reread_as_NOTICE

Changed server's reconfiguration message to NOTICE so that it's always logged in syslog.
Redmine 6304.
Merge pull request #1856 from ediosyncratic/timelog-fix

Fix potential hang in unit/logging_timestamp_test
Merge pull request #1855 from kacfengine/double_building

Revert change to libcf-agent building.
Reindent - no functionality changes.
Redmine 4822: cf-serverd, always admit access to remote "root" user.

Also reshuffled the logic in TransferRights() to make it more clear.