Honor warn-only when purging from local directory.

Fixes issue 2162.
Do not get error code from ferror(), only error status.

ferror() only returns true or false. errno must still be used to get
the actual error code.

Fixes issue 2475.
Split up license files, putting each part only where needed.
Removed EXPIRY and LICENSE_COMPANY variables.

Not needed anymore after license checking was removed on nodes.
dbm_quick.c needs string_lib.h
Check permission, size for keys in self-diagnostics
Merge pull request #557 from kacfengine/licenseMoving

Split up license files, putting each part only where needed.
Merge pull request #555 from kacfengine/issue-2162

Honor warn-only when purging from local directory.
Merge pull request #556 from kacfengine/issue-2475

Do not get error code from ferror(), only error status.
Pass GenericAgentConfig to CheckPromises
Remove global CBUNDLESEQUENCE_STR
Do not run policy checks until after all inputs are parsed
ChangeLog cleanup
Note classes when MINUSF is not set, rather than the input file in GenericAgentConfig
Remove VerifyConstraintName

This is now checked at parsing stage.
Change ConstraintSyntax.range.body_syntax from ConstraintSyntax* to BodyTypeSyntax*
Ensure there is a newline after ProgrammingError
Get rid of ConstraintSetSyntax for PromiseTypeSyntax

BodyTypeSyntax and PromiseTypeSyntax need different check functions.
Get rid of inappropriate uses of OUTPUT_LEVEL_REPORTING
Get rid of OUTPUT_LEVEL_LOG