Make CFLAGS overridable.

If $CFLAGS is not last in the assignment, then you cannot override
flags like -O2.
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.
Redmine#4076: add acceptance test for countlinesmatching()
Redmine#4076: improve acceptance test for countlinesmatching()
Use CfReadLine instead of getline for countlinesmatching

To prevent having to match newline. Close #4076
Allow slists to be passed to mergedata(). Fixed from Ted.

Close #3279
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.