Remove unneeded static function (only used once).
Made file copies and edits preserve extended attributes.

This means that ACLs and security context information will be copied
along with a file if the "preserve" attribute is set and the copy is
local, or if the copy is part of an edit operation. For remote copies,
only Unix mode is preserved. If the preservation is unsuccessful, the
promise will fail.

Solves issue 2728.
Internal data coherence checks + removal of keys from lastseen and fs
Merge pull request #773 from kacfengine/preserveAllAttributes

Make file copies and edits preserve extended attributes.
Fixes Redmine #2553: different path for sys.crontab on redhat systems

See https://cfengine.com/dev/issues/2553.

Conflicts:
	src/sysinfo.c
Fix bad merge
Only check literal edit anchors.

Close #2778
Merge pull request #792 from jeffali/feature/delkeys9b

Internal data coherence checks + removal of keys from lastseen and fs