Rename CHARSET YAML constant to DEFAULT_CHARSET.
Check parameters for YAMLWriter.
Move some basic things of advanced conf to base class.
Make YAMLConstants an interface.