make masterdir configurable via configure option: --with-masterdir=<directory>
Close socket.
append masterfiles when CFENGINE_TEST_OVERRIDE_WORKDIR environment is set
sys.inputs is configurable via:
 * ./configure --with-inputdir=<directory> (default: sys.workdir/inputs)
Add acceptance test for security exception
Ensure that policy files are only writeable by the owner of the file.
Merge pull request #1249 from tzz/test/3842-sysvars-on-hpux

Redmine#3842: acceptance test for flavor and arch on HP-UX
Merge pull request #1267 from nickanderson/test/security_exception_other_write

Add acceptance test for security exception Ensure that policy files are only writeable by the owner of the file.
Merge pull request #1262 from jimis/socket_descriptor_leak

Close socket.
Use the new functions
 * GetInputDir() for inputs directory (sys.inputdir)
 * GetMasterDir()  for masterfiles directory (sys.masterdir)
Merge pull request #1264 from tzz/feature/3983-format-S-specifier

Redmine#3983: format() %S specifier
libenv/sysinfo.c: add cf-upgrade to list of components
Standardize Buffer, remove memory cap features
Warnings
Make prep step and output render correctly as code.

Everything in a #@ block is rendered verbatim, ie interpreted as
markdown.
Mark preparation steps and output in all example files as code.
examples/remake_outputs.pl: skip Markdown outputs
examples/remake_outputs.pl: skip Markdown outputs in outputs, too
examples: fix up examples for acceptance test and print old output when different
examples: more fixes for acceptance tests
examples/remake_outputs.pl: run diff if outputs differ