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
Provide a missing break;

The -d flag to serverd used to imply -K (debug implies ignore locks).
If this was intended, I'll replace the break with a /* deliberate
fall-through */ comment, but I'm guessing it's simply a mistake.
Fix up some #if-ery to avoid unreachable code.

Some avahi-specific code ended in an exit() and was followed by more
code, which would thus be unreachable when the relevant avahi defines
are enabled.  The code involved also repeated a pair of #if tests in
three places; so make the first set a local define the other two can
use as a simpler test; have a #else clause for the formerly unreached
code; and share the common exit() between the two branches.
Simplify testing on NO_FORK.

Rather than testing it in three places, test it once and put all three
fragments of code in a single conditioned block.
Do not crash the server (old protocol) in case of unknown protocol command.
Services fubar on win — see #4772
Add perl stat command as a script to avoid cmd.exe quoting issues.
Merge pull request #1511 from aappilattoq/master

Services fubar on win — see #4772
Fix quoting issues on windows

Windows expects a different order of quotes for perl, and given that the
command evaluated already featured several double quotes, the entire
enchilada had to be outsourced into a perl script.

	1. Add a comment to that file, moved from the original
	testcases, so that it's not a mystery as to what it does.

	2. Given that, remove the 'g' bundle from all relevant testcases.

	3. Edit the argument to execresult() in all relevant tests, to
	make use of the new script file

	4. reindent 001.cf
Merge pull request #1506 from jimis/minor

Do not crash the server (old protocol) in case of unknown protocol command.
Merge pull request #1512 from aappilattoq/master

Fix quoting issues on windows
Disable nix num permission tests on Windows

Win ACLs are speficially tested for tested elsewhere. These tests will
always return something different than expected, as Win ACLs do not map
to nix permissions as the tests expect to. Mark all as unsupported.

While here, edit 010.cf missed in the fcdb6e commit, i.e. remove the 'g'
bundle and amend the execresult() to take a new script into account.
Merge pull request #1513 from aappilattoq/master

Disable nix num permission tests on Windows
More num permissions on Windows
Merge pull request #1514 from aappilattoq/master

More num permissions on Windows
Num perms; unsupported