Mustache: acceptance test for default case and extra debugging
Fix GetMasterDir, GetInputDir

These functions were not returning anything on env override, so
I returned some static var (given that override is used for testing).
Revert "Fix GetMasterDir, GetInputDir"

This reverts commit e76c51243dc10318e4fb38aa9ab05ec0288d6565.
Revert "Use the new functions"

This reverts commit afec9b5625925bd73edcaad848ffaaf4baa8e190.
Revert "sys.inputs is configurable via:"

This reverts commit 841fbb9edea9ccd32cd48a5e550b52572c36879a.
Revert "append masterfiles when CFENGINE_TEST_OVERRIDE_WORKDIR environment is set"

This reverts commit d3f4d0ee499227f09cd38ac2f3e14a8e849ab52d.
Revert "make masterdir configurable via configure option: --with-masterdir=<directory>"

This reverts commit 3aff5a78c38c106a272560663cb4a0e3236c375c.
Merge remote-tracking branch 'tzz/tzz/sigurdteigen/mustache-datastate'
Revert "Add Windows part of GetDefault*Dir()."

This reverts commit ca5a90f5ca97d1a7850a14ef27846fc05f2adc97.
Merge pull request #1287 from kacfengine/master

Revert inputs and masterfiles changes.
Turn off listening to IPv6 only by default, which happens on broken platforms.
Add IPV6_V6ONLY define, which is valid on Win32, but missing in MINGW.
Use an IPv6-safe structure in connection creation.
IPv6 fix.
Fix protocol misparsing when doing IDENTITY.
Merge branch 'windows_ipv6_bind_fix'
function to check for non-printable characters
new options cf-promises --show-classes and cf-promises --show-vars
Add missing cast to getsockname.