Correction to: Record which promise set each variable.

Our current Promise may be a copy, that'll be free()d at the end of
the current convergence pass; comparing this to the Promise of a later
assignment won't be equal even if it's the original (or another copy
of it); and dereferencing it during reporting shall be regrettable.
Fortunately, a Promise's .org_pp records the original in any copies,
so we can record that instead, bypassing both problems.
Make testall test what's in the current folder, not `dirname $0`.

This is so that it can be called directly from masterfiles.
Export variables to tests so we can find the enterprise plugin.
Redmine#1900: test basic template and trailing newline
Revert "Redmine#3323: @include mechanism"

This reverts commit 3fc17367cb1ad78a007a41a8a554ac3f5566fb63.

Conflicts:
	libpromises/cf3lex.l
	libpromises/cf3parse.y
tests/acceptance: improve default_check_strcmp and add default_check_regcmp
Redmine#3122: acceptance test for list interpolation order
Redmine#2100: acceptance test for chmod on an immutable file
Merge pull request #1305 from tzz/test/2100-outcome-of-chmod-on-immutable-file

Redmine#2100: acceptance test for chmod on an immutable file
Merge pull request #1301 from tzz/revert/@include

Revert "Redmine#3323: @include mechanism"
Revert "Redmine#2100: acceptance test for chmod on an immutable file"

This reverts commit 45f2147ec37517dee0c6cc3b393fad87ab4cf461.

Does not pass yet.
Revert "Redmine#3184: acceptance test for editing immutable files"

This reverts commit 7d4379f9545f407c33dc05c2d9852688b7b9afde.

Acceptance test fails.
partially revert a change intended to alter the log message - fixes 4038
Merge pull request #1289 from ediosyncratic/promise-fix

Correction to: Record which promise set each variable.
Merge pull request #1300 from tzz/test/readmine1900-cftemplate-newlines

Redmine#1900: test basic template and trailing newline
Merge pull request #1309 from kacfengine/testall_fixes

Testall fixes
Redmine#3184: acceptance test for editing immutable files
respect CFENGINE_COLOR=1 environment setting
tests: make 01_vars/02_functions/00[12].cf work under archlinux
Merge pull request #1315 from cdituri/core/make-tests-work-under-archlinux

tests: make 01_vars/02_functions/00[12].cf work under archlinux