cfengine_stdlib.cf now lives in "libraries"

Fixes #2724
Make "make distclean" work again.
Redmine#2753: add acceptance test
Some small test cleanups to make it more cross platform friendly.
Merge pull request #723 from kacfengine/tzzTest

Acceptance test for Redmine 2753.
Redmine#2753: refine acceptance test
Redmine#2753: use $(G.cwd) in acceptance test
Merge pull request #724 from tzz/master

Redmine#2753: directory_can_not_readlink refine acceptance test
Improve autotest to fail also when cf-agent execution fails.
Merge pull request #722 from kacfengine/makeFix

Make "make distclean" work again.
Fix a typo
Fix ScopeDelete

Close #2781
Merge pull request #729 from sigurdteigen/master

Fix segfault resulting from bad ScopeDelete
Merge pull request #728 from tdlee/master

Fix a typo
Fix deadlock in cf-serverd, see redmine #2864.

Logging is removed from the signal handler until it is reimplemented as
reentrant (now it calls vasprintf() which calls malloc(), which is not
reentrant).

Also marked exit(0) in the agent for future removal for the same reasons.
Change select timeout to 1 second.

Previously the worst case for exiting was 10 seconds after the signal arrival.
Making libpromises the same version as the release
Merge pull request #730 from cduclos/master

Making libpromises use the same version as the release
fix for bug #2182. Added more params for the promises hashing algo
Merge branch 'bugwork/2182-cmds'