Mustache: acceptance test for default case and extra debugging
make masterdir configurable via configure option: --with-masterdir=<directory>
append masterfiles when CFENGINE_TEST_OVERRIDE_WORKDIR environment is set
sys.inputs is configurable via:
 * ./configure --with-inputdir=<directory> (default: sys.workdir/inputs)
Redmine#3870: acceptance test to ensure an empty template empties the file
Remove timegm replacement, it is only used in Linux-only code
Use the new functions
 * GetInputDir() for inputs directory (sys.inputdir)
 * GetMasterDir()  for masterfiles directory (sys.masterdir)
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
examples: even more fixes for acceptance tests
examples/filestat.cf: fix for acceptance test
18_examples/check_outputs.cf: reenable