include known_dirs.h where now necessary, remove more state/ hardcodes
cf-agent/agent-diagnostics.c fixes part 1
More modifications of GetStateDir() use