Add support for Debian's GNU/kfreebsd

See http://sources.debian.net/src/cfengine3/3.2.4-2%2Bnmu1/debian/patches/626647-kfreebsd-support.patch for reference.
Fix redmine #2936
Change testall script to expect being in OBJDIR/tests/acceptance

A clear error message is printed if this is not the case. This way we
avoid looking for cf-* executables in erroneous directories, which
happened when building out of source directory.
Add acceptance tests for redmine #2936.
Server should not die when receiving bad data.

Replace ProgrammingError() with just a warning. Also fix switch
statement's erroneous fall-through, it was causing hub's serverd to die
when call-collect reporting was denied.
Removed unnecessary and dangerous scanf.
Introducing IPAddress_IsIPAddress

This function provides a simple way to check if a given string contains a proper IP address or not.
In case that a proper IPAddress pointer is given it will return the address on it.
Merge branch 'master' of https://github.com/cfengine/core
Add red-black tree (RBTree) to libutils
Retire cf-gendoc
Include missing policy files in "make install".
Merge pull request #823 from kacfengine/master

Include missing policy files in "make install".
Merge pull request #818 from jimis/bug1996

Bug1996
Merge pull request #801 from bahamat/master

Add support for Debian's GNU/kfreebsd
Merge pull request #821 from sigurdteigen/feature/bst

Add red-black tree (RBTree) to libutils
Merge pull request #822 from sigurdteigen/cleanup/gendoc

Retire cf-gendoc
Remove leftover bundle reference.
Merge remote-tracking branch 'carlos/master'
Remove unused ScopeToList
Remove CheckRecursion, cause of infinite recursion

This check seems to have been added recently for knowledge map/reporting
purposes. It should be revivied when this purpose is clear.