Redmine#2272: maparray() function
Redmine#2272: maparray() function style cleanup and return failure as needed
Fix wrong make variable in cf-agent/Makefile.am
Bug #1332 Acceptance tests for XML fail due to textual comparison of results.

Developed a program, with help from Mikhail, to convert an xml file into its c14n canonical
equivalent. Also, we expanded the acceptance testing structure to perform a canonical
diff on the xml files. Then transered all the xml acceptance tests that are passing
from tests/acceptance/10_files/11_xml_edits/staging/ to tests/acceptance/10_files/11_xml_edits/.
The two tests that remain in staging are failing, for unrelated reasons.

Note: Origionally I implemented this as a function, in evalfunction.c but due to conflicts with
differing libxml2 libraries, we decided to re-implement this as a standalone program for use only
with acceptance testing infrastructure. At some point, it may be beneficial to introduce this
program, as well as various other xml functions, into the CFEngine language.
Beginnings of a style guide; provide reindent.pl and augment dir-locals.el
support c++-mode too
Out-of-tree builds broke again, fix.
Fix replace_or_add() when regex chars used

replace_or_add(pattern, line) will currently break
if line incidentally contains special regular expression
characters. So $(line) should be escaped because it needs
to be matched literally.

For example, this fixes replace_or_add() when used in a crontab:
replace_or_add(".*myscript.*", "* * * * * /usr/bin/myscript $(arg1)")
Merge pull request #434 from shaunamarie/bug1332-xml-c14n

Bug1332 xml c14n.
Move variable to place of assignment
Remove unused CF_UNKNOWN promise status
Move UpdatePromiseComplianceStatus out of ClassAuditLog
Remove unused output levels in cfPS
Get rid of overly generic CfFOut, introduce special ReportToFile instead

This special function also does not pass reports to syslog. (Redmine #1646)
Merge pull request #437 from chrishiestand/edit_replace_regex

cfengine_stdlib.cf: Fix replace_or_add() when regex chars used
Add SECONDS_PER_YEAR
Split out part of cfPS to separate function
Inline CfVOut and LogList

CfFOut was replaced with ReportToFile, so there is no longer a need to have VLog
report to files other than standard output stream. This causes some
simplification in internals of cfstream.c.
Rename MakeLog to SystemLog to decrease confusion
Implement syslog interceptor library