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