Last of the needed GetStateDir() usage in generic_agent.c
prep cf-agent self-diagnostics for --with-statedir compile-time option
tests/unit/Makefile.am: added known_dirs.c to libdb libtool library sources
Strip state/ from DB_PATHS[]; make all DBIdToPath(dir, dbid) calls use GetStateDir()
tests/unit: use CFENGINE_TEST_OVERRIDE_WORKDIR in combination with GetStateDir()
tests/load: use CFENGINE_TEST_OVERRIDE_WORKDIR in combination with GetStateDir()
known_dirs.c: Collapse GetInputDir(), GetMasterDir(), GetStateDir() with preprocessor
new $(sys.statedir) special variable