tests/acceptance: improve default_check_strcmp and add default_check_regcmp
Redmine#3122: acceptance test for list interpolation order
tests/acceptance: s/difference/mismatch/
IsDir2().
Fixed documentation, added TODO.
Promise constification.
Add safeguard when reading timestamp from cf_promises_valid.

If the file contains valid JSON, but is missing the timestamp field,
then the attempted fetch of the value will crash, leaving all daemons
dead in the water.
mon_network.c: only free vbuff after we're done using it

These two 'for' loops are still using 'vbuff' after it was free()d.
Set cf-promises --eval-functions to 'yes' by default.

Close #3855. This effectively preserves the behavior from previous versions
by default.
Redmine#3279: add example for mergedata() usage
examples/remake_outputs.pl: ensure CFENGINE_COLOR is 0
Redmine#3315: staged acceptance test for findfiles() in inputs
Merge pull request #1314 from tzz/test/redmine3315-findfiles-inputs

Redmine#3315: staged acceptance test for findfiles() in inputs
Merge branch 'fix-monitord' of git://github.com/xrg/cfengine-core
Fix memory leak in cf-monitord.
Separate validated and release_id information into separate files.

The base problem is that only the policy server has enough information
to generate the release_id, most notably because the server will have
a git repository with a tag, whereas each agent will not. Therefore
the agents will generate a different release_id, based on file
contents. Add to the problem that stale files at each agent can also
influence the result, and you have a mess. Therefore only the policy
server should be allowed to generate the release_id.

This is a problem because each agent must be able to generate
cf_promises_validated, so that it can trigger a policy reload in its
daemons.

The problem is solved by separating those two pieces of information
(timestamp in cf_promises_validated, and releaseId in
cf_promises_release_id). All agents generate the former; only the
policy server generates the latter, with other agents downloading it.
datastate() function to provide the container used by default templates
Redmine#3454: rename string functions to string_*
Merge pull request #1328 from tzz/feature/3454-text-manipulation-functions-rename

Redmine#3454: rename string functions to string_*
Merge pull request #1047 from tzz/feature/datastate

datastate() function to provide the container used by default templates