pipes.c: we must keep pid of children even when fd > MAX_FD

For that, we'd better realloc() the CHILDREN array than let any of the
forked process become defunct.

This was observed in a server doing many parallel slow operations. The
number of FDs was excausted, in a way that newly forked processes would
no longer be tracked and wait()ed for.
Move repeated code into static helper-function.
Add regression tests that would have caught the time class bug recently introduced
Add missing comment bars
Fix thread locking error in submitted patch commit 464b553613b91a32ff7a3151c625cbe61eaf76ef
Acceptance tests for the execresult refactor bug
Merge pull request #268 from markburgess/master

Add acceptance tests for time class refactor bug, fix a regression due to pipe refactoring and add tests for that too
Merge pull request #266 from vohi/SetupPipe

Move repeated code into static helper-function.
Give a more specific error message
Fix build for netbsd + remove unnecessary #if define in SelectBSDMatch
Silence compiler warning.

Variable was unused.
Do not return a value from a void function. Redmine #1901
Convert unit tests to use ToUpperStrInplace/TolowerStrInplace instead of deprecated ToUpperStr/ToLowerStr
Remove deprecated functions: ToUpperStr, ToLowerStr
cfhypervisors(enum) and Str2Hypervisors(function) are never used if HAVE_LIBVIRT is not defined.
Remove FatalError calls from assoc.c, unreachable code
Remove transaction.h related functions from prototypes3.h
Add an orchestration example for a triggered delay
Merge pull request #270 from markburgess/master

Add an orchestration example
Merge pull request #269 from lpefferkorn/master

Give more specific error message