Expand this.promiser for some attributes in files promises.

Supported are attributes in body classes and log-attributes in
body action, as well as the previously supported transformer.

Addresses the highest priority items left in Redmine #1554.

(cherry picked from commit f27d19040ce324fdd55dc7311fa5234913671c46)
Expand this.promiser in file_select exec-attributes

ReplaceStr turns out to be broken. Use SearchAndReplace instead,
with dynamic memory allocation.

Redmine #3530.

Additional improvements in test case.

(cherry picked from commit 5ccaa5505094bee88c60fc34281e138f6d52f593)
This messge is a bit cryptic:
 * "Unacceptable model uncertainty examining processes"

This commit will show which process causes this issue:
 * "Unacceptable model uncertainty examining process(ganglia  20877     1 20877 17.3  3.2 2230968  0 1077096  3 01:17 01:48:23 /usr/sbin/gmond --pid-file /var/run/gmond.pid): `3 != 1077096  3`"

(cherry picked from commit a36cbbf2adbd17f3233b2a011ffe661dfe06e3c3)
Move tricky output handling into elevate.sh instead of testall.

This way it can be more reliably reused.

(cherry picked from commit 7f41d44bebfe337005eaa6d295d2021b21c1a7b8)
re enable mon_processes_test for solaris

(cherry picked from commit 8103136843c60f838cf1a8f92efcab22c27ca914)
Enable SIGINT (Ctrl-C) to kill testall instead of leaving it running.

It's quite convoluted, but basically it is a cascade of traps leading
up to killing the actual testall process. Note that it does not kill
any jobs that testall might have created. The hope is that these will
quit on their own in a short time. Basically each level you want to
kill requires a trap in the parent.

(cherry picked from commit 87ad243ca0ea860a3cbe7a6eca79ba80287a745f)
disable acceptance tests failing on solaris

(cherry picked from commit b4fb37cc08495a6674a87dc8ce75419c58afc5e5)

Conflicts:
	tests/acceptance/05_processes/01_matching/004.cf
	tests/acceptance/05_processes/01_matching/006.cf
String change: Correct help text for cf-key.

License installation is only needed on the Enterprise hub, not on
managed hosts. The "without bootstrapping" comment makes no sense
anymore.

(cherry picked from commit 41a3c6e190771ee2fea8a26e004cf2fc8b8fb13d)
Expand this.promiser in edit_template.

Redmine #1496

Also, add verbose output when rendering starts for better tracability.

(cherry picked from commit bfe5db99e2b3929fc682f5488f474bcb97c511ea)
Fix some "unused variable" warnings.

(cherry picked from commit 8654ef5174b3f53641c684f38c8219bcfc510bcf)
Explicitly expand this.promiser in copy_from.source

Include/update test case.

See Redmine#1554

(cherry picked from commit f492a83c2e057c56b13d705fee7c738ccf2bd2dc)
Add make and gmake for use in tests.

(cherry picked from commit 2c8efddfd5a29e9a09784518d4bf98e874b2fb16)
Make sure reindent.pl doesn't add tabs.

Also make clear (by a commented-out line) how to eliminate all tabs.

(cherry picked from commit 3b497a6a02f8ce4e3b7bc23a6baa990f6acbdb5a)
Also purge dangling hspace while reindenting.

(cherry picked from commit bc861033fcba722ce34dcab72f5b87e15140f9dd)
Squash memory leak introduced in f492a83c2e057c56b13d705fee7c738ccf2bd2dc

(cherry picked from commit 613b0c05b87dbbd1392e957b9b94fdf2f813f6f8)
remove xfail from acceptance test

(cherry picked from commit 8f3cd3897d058846706c2c5c07bdaca1541c6efe)
Do not cleanup global allocations if threads are still active.

(cherry picked from commit a5c3a630d4eec2f4d615e47f1efa98193ed7e0de)
Make AIX password hash matching regex slightly more robust.

(cherry picked from commit ccd61979b43fd041e729d99ff50c21f8e395983f)
fix failing acceptance test and remove suppression sol11

(cherry picked from commit 342d898615ba20cfb0cc9f480529e5a2527b6d24)
Enable Ctrl-C to kill all sub processes on Windows.

...not just the test script itself. This will even kill stuck
processes such as cf-agent or cf-serverd. It does *not* work by
terminating the SSH connection yet though.

(cherry picked from commit d90a687598cd43c62d405ccacf0fe14a7fab8301)