Merge pull request #1928 from vohi/master

Improve test case for ifvarclass with functions
Fix acceptance tests on Solaris 9 SPARC.
Remove unexpanded lists when extending lists

Instead of overwriting the list value with cf_null, which is then
no longer stripped out during later processing, take unexpanded
entries out of the list.

Extend existing acceptance test.

Fixes redmine 6541
Add another situation to list expansion test.
Merge pull request #1930 from vohi/redmine/6541

Redmine 6541 - Remove unexpanded lists when extending lists
Add: Acceptance test for classes defined from delete body

When a promise repairs a file or directory the same promise should not
define an outcome of kept during the same agent activation.

Ref: https://dev.cfengine.com/issues/6509

Modified by: Kristian Amlie <kristian.amlie@cfengine.com>
join: Don't add delimiter if only null-values are left

Looks like a nested loop that introduces polinomial complexity,
but the inner loop advances the outer loop as well.

Fixes Redmine #6552