cf-serverd: free getaddrinfo() result, on error of OpenReceiverChannel()

getaddrinfo() may allocate the 'result' struct even in cases where it
will return an error. Take care to free memory, although we would exit
the server process anyway.
cf-serverd: getaddrinfo() will use a numeric port, no lookup

This `AI_NUMERICSERV` flag avoids looking up the "services" table for
a string port resolution, according to the manual.
cf-serverd: getaddrinfo() will NOT set "errno" upon failure

It has its own `gai_strerror()` function to resolve its (reentrant)
result code.
Add acceptance test for list extending itself
cf-serverd: fix typo for addrinfo constant

As spotted by Dimitrios Apostolou
Add test for calling namespaced bundles

Namespaced bundles that call other bundles in the same namespace should
not have to specify the namespace of the bundle being called.
Add test using this.promiser with readjson
Add test for duplicate definition of promise handles

Promise handles should allow the use of variables without triggering
duplicate handle errors
Redmine#4694: fix prefixing public client key file in cf-serverd by username
Redmine#4683: ensure dynamic inputs from data containers work
Add acceptence test for invalid mustache template

Ref:Redmine:4702 (https://cfengine.com/dev/issues/4702)
Acceptance test to make sure copy_from accepts local dir separators.

Added to verify pull request #1456.
Fix bootstrapping not working on Windows.

This was ifdef'ed in the code before, but that was removed, so we need
to rely on platform detection instead.
Merge pull request #1492 from kacfengine/win_bootstrap

Fix bootstrapping not working on Windows.
Limit tc scope, fix dir separators on windows

Two issues:

	1. "*" is verboten in filenames on Win. Add conditionals
	throughout the tc to avoid processing the last list element
	which contains this character.

	2. In the reference strings, use $(const.dirsep) instead of
	slashes.

The testcase now passes, although it still complains about created
directories not being accessible in lsdir():

	'opendir: The system cannot find the path specified'
Adjust bug # after duplicate
Suppress testing on win. See issue #4733

edit_line insert_lines needs to crlfize, as files created without crlf
are diffed against files with crlf.
Add missing class selector after "!windows" section.
Include LogLevel in logging hook

Ensure that DEBUG messages are not kept.
Log correct message for methods promise

The worst promise outcome in the invoked bundle defines the compliance
of the methods promise. Treat NOOP, CHANGE and WARN specifically,
everything else is considered a not-kept status.