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.
Add red-black tree (RBTree) to libutils
Retire cf-gendoc
Squash various warnings
Remove ScopeSet/GetCurrent

The notion of current scope is now implicit in the EvalContext
execution stack.
Manage special scope 'edit' in stack
Augment bundle scopes on stack frame push
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'