Girocco/Dumper.pm: new module to assist with installation config
The Girocco/Config.pm module supplies Girocco's configuration for
the installation.
It is "use"d by virtually every perl module that's part of Girocco.
It's sole purpose is to set configuration variables. However, it
also contains various validation code and so forth that runs during
installation to validate various settings and so on.
There's no reason to run the validation code after the settings
have been validated at installation time and then installed.
Provide utility functions in Girocco::Dumper that can "freeze" a
configuration into a new module file that does nothing except set
configuration values -- both *Girocco::Config::<var> AND $ENV{<name>}
AND the umask.
The installation process already does something similar for use
by shell scripts when it creates the 'shlib_vars.sh' file during
installation.
Provide a utility function for 'shlib_vars.sh' creation as well to
avoid including non-scalar variables and scalars that contain a
reference in the generated 'shlib_vars.sh' because they just end
up as useless garbage when they are stringified.
Signed-off-by: Kyle J. McKay <mackyle@gmail.com>