Add acceptance test to check namespaced lists

One namespaced list that is constructed of other lists should be fully expanded.
Ref: Redmine:4445 (https://cfengine.com/dev/issues/4445)
fix avahi compile-time warnings:
  - annotate unused function argument as such.
  - cast resolve_callback as AvahiServiceResolverCallback.
Regex check every admit entry, slow but needed for backwards compatibility

Various small refactorings and cleanups were needed.
Added acceptance tests for admit/deny with regexes.

WARNING: the acceptance tests do not currently work (they erroneously
pass). Reason is that I spawn 2 cf-serverd processes on localhost
listening to different ports, but cf-agent sends everything to the first
one because of bug in connection caching. Submitted redmine #4646.
Change -v to not foreground daemons.
Eliminated some clumsiness in instrumentation code.

When a flag is initialized true, set false by some failure-handling
code and then conditioned on, it can be eliminated in favour of just
having an else to the failure-handler.  Arithmetic with doubles really
doesn't need to cast anything like so much to doubles; anything
multiplied by an overt double (e.g. 1e3) is implicitly converted to
double anyway.
Make IsMatchItemIn()'s list const-compatible.

IsMatchItemIn() doesn't modify the list, so don't claim it does !
Prefer memrchr() over strrchr().

Jimis pointed out in code-review that I could have done this, and
it'll save strrchr()'s search for the '\0' byte whose location I
already know.  Depends on memrchr(), a GNU extension, but Jimis
assures me we have a replacement for it in our emulation layer.
Use the test-frameworks's assertions, not <assert.h>'s assert()

In the unit test system use the right assert mechanisms for the
purpose in hand.  Also renamed a macro: it asserts that the system is
initialized; it doesn't "assert if the system is initialized" because
"assert" doesn't mean "fail an assertion" !
Merge pull request #1444 from jimis/access_regex

Access regex
Clean up symbols that are not really extensions, but Windows-only.

It will mess up the enterprise_extension_completeness_test because it
will not find the real definition of the symbols in the extension
library when the platform is not Windows. Therefore, ifdef it instead
so it is not included in other builds.
Fix broken test for "date +%s" support.

On Solaris, using +%s is not supported, but doesn't produce an error
code either, so base the check on whether "%s" is still in the string
afterwards.
Make sure timeout is enough even on slow platforms.
Merge pull request #1448 from jimis/patch-1

Make sure timeout is enough even on slow platforms.
Fix accidentally returning NULL on valid FILE* in RawLoadItemList

Add a few more suppressions to valgrind-suppressions
Add flag --no-crashing to testall
Fix leak in function classmatch
Fix leak in FnCallFileStatDetails
Add flag --valgrind to testall, update suppressions
Fix leak in CopyLocalizedReferencesToBundleScope