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 ...
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.
Don't invoke bundle if methods promise is warn-only.

However, do invoke the bundle if the agent run is a dry-run.

See Redmine #5924
Reindent - no functionality changes.
ps comamnd on linux we can specify the width of fields. The rss size is too small for us and cfengine complains:
 - Unacceptable model uncertainty examining processes

This fix issue:
 - https://dev.cfengine.com/issues/6337
Redmine 4822: cf-serverd, always admit access to remote "root" user.

Also reshuffled the logic in TransferRights() to make it more clear.
Beautification, no functionality change.
New protocol now sets conn->uid exactly like the classic protocol.
Use CF_UNKNOWN_OWNER instead of arbitrary numbers.
Removed bogus comment. That's not true any more, somebody changed the ItemList to a Seq.
Fixed very very old race with getpwnam().
Fix harmless printing of warning on Windows.
logging, indentation.
Merge pull request #1865 from jimis/cfupgrade

Cfupgrade minor fixes.
Merge pull request #1863 from basvandervlies/big_rss_value_issue_6337

ps comamnd on linux we can specify the width of fields.
Make sure VERBOSE variable is exported to testall sub-invocation.
Redmine #4822: Fix incorrect background invocation on Windows.

You cannot use shell backgrounding on Windows. And the daemon cannot
daemonize either, so the correct means is to let the promise run in
the background.
Redmine #4822: Fix incorrect sleep invocation on Windows.