Redmine#5882: add INFORM message when the given permissions will be filtered
Merge pull request #1731 from tzz/feature/redmine5882-inform-ambitious-permissions

Redmine#5882: add INFORM message when the given permissions will be filtered
Beginnings of a unit test for ParseModeString.
Merge pull request #1732 from vohi/test/parsemodestring

Beginnings of a unit test for ParseModeString.
examples/some.cf: update example to show testing for an empty list
examples/some.cf: update example comments
tests/acceptance/testall: mention $PRINTLOG
Redmine#5959: test this.promises in command args
cf-agent/verify_users.c: "user promise kept" should be VERBOSE, not INFO
Merge pull request #1734 from tzz/user-promise-kept-verbose

cf-agent/verify_users.c: "user promise kept" should be VERBOSE, not INFO
Redmine#5957 Install the default agent signal handler for cf-key
Merge pull request #1735 from jeffali/cf_key/sig_handler

Redmine#5957 Install the default agent signal handler for cf-key
examples/readtcp.cf: do not test output
tests/acceptance/18_examples/ouputs/check_outputs.cf: not a network test anymore
Leak-fix in CheckFileChanges().

Previously neglected to clear allowuserlist of ServerAccess.
The connectionlist member should be clear already, in this code.
Enterprise leak-fix: clean up its report-book filters before exit.

Purely to calm valgrind down; it's a one-off leak, so not a problem
during normal running.
Add (partial) finalization for generic agent.

We have an initialization function for the generic agent, that calls
initialization code for cfnet; but neither had matching finalize code,
even though the cfnet one calls initializations that do have matching
shutdown code (that no-one calls).  Similar problems with server.

Begin sketching what relevant clean-up would look like, based on the
first few leaks I saw due to its absence ...

Fold EvalContextDestroy() and GenericAgentConfigDestroy() into
GenericAgentFinalize(), to simplify everywhere's final clean up.  In
the process, catch a few cases that used to neglect the former.
Leak-fix: clear away PRIVKEY and PUBKEY in TLSDeInitialize().
Leak-fix: free db_handles[*].filename in CloseAllDBExit().

The filename was created by xstrdup() via DBIdToPath() and
MapNameCopy(), so we have a duty to free() it eventually.

Cowardice: I'm only doing it, for now, if all DB users finished, since
I don't know what pain it might cause for one of them that's still
running ... but I left a TODO comment to look into that.
Move some fileno() calls outside locked intervals.

They don't need to be inside.