PreOS code did not use configuration support. This fix adds support
for using cdist configuration, which takes into account cdist
configuration file, environment variables and command line options,
especially conf_dir.
It also adds support for -g, --config-file option, for specifying
custom configuration file.