Redmine#4096: teach mergedata() how to merge classic CFE arrays

See https://cfengine.com/dev/issues/4096

Simply converts an array, if found, to a data container so it can be merged with other data containers if the variable name is not a data container or list.