When deleting, entry not found should not be logged as an error
Merge pull request #1608 from jeffali/log/lmdb_not_found2

When deleting, entry not found should not be logged as an error
Fix infinite recursion when checking cf_promises_validated.

GenericAgentIsPolicyReloadNeeded() calls
GenericAgentTagReleaseDirectory(), so we cannot also call the former
from within there. This only happens if the timestamp within
cf_promises_validated is newer than the current time, which shouldn't
be often, but is not impossible either.

Within generic_agent.c, GenericAgentTagReleaseDirectory() is only
called after GenericAgentIsPolicyReloadNeeded() has already been
checked, so there is no point in calling it a second time. However, it
changes the behavior of "cf-promises -T", which will now
unconditionally write cf_promises_validated, whereas before it would
only write if the timestamp was older than any of the policy files.
Provide current time in console message.
Merge pull request #1623 from kacfengine/infinite_recursion_cf_promises_validated

Fix infinite recursion when checking cf_promises_validated.
tests/acceptance/plucked.cf.sub: update
tests/acceptance/plucked.cf.sub: enable EXTRA to do reporting
Redmine#5342: add docs for packages functions
Redmine#5342: document VerifyPackagesPromise PackageSanityCheck PackageListInstalledFromCommand ReportSoftware
Redmine#5342: document GetCachedPackageList VerifyInstalledPackages FindLargestVersionAvail.  Document and fix bug in IsNewerThanInstalled
Redmine#5342: document PackageAction2String.  Document and fix bug in AddPatchToSchedule and AddPackageToSchedule.
Redmine#5342: document CheckPackageState and fix some doc typos.
Redmine#5342: rename VersionCheckSchedulePackage to WillSchedulePackageOperation and document it
Redmine#5342: document and simplify VerifyPromisedPatch
Redmine#5342: document and simplify VerifyPromisedPackage
Redmine#5342: document and move InvalidateSoftwareCache
Redmine#5342: document ExecuteSchedule
Redmine#5342: document ExecutePatch, ExecutePackageSchedule, ExecuteScheduledPackages
Redmine#5342: add brief doc on overall structure of verify_packages.c
Redmine#5342: undo simplify VerifyPromisedPackage