(#10278) Add Facter::Util::Resolution.locale_wrapper

Without this patch, Facter does not have a clean way to reset the locale
when executing system commands.  This is a problem because we cannot
depend on the output of commands like `ifconfig` unless we can also
depend on the localization being  used.

This patch addresses the problem by adding the method locale_wrapper
method.  This method sets the LANG, LC_ALL, and LC_CTYPE environment
variables to the value of C before evaluating the given block.
(#10278) Force ifconfig fact to use Facter default locale

Without this patch Facter executes the ifconfig command without
controlling the localization environment.  This is a problem because the
output of ifconfig causes the parser to fail when in the `de_DE.UTF8`
locale.

This patch fixes the problem by switching the ipaddress fact to use the
locale_wrapper method.