Split locale -a result safely, detect utf8, log message to debug.
Standardize guessed locale
Use shell_out to get locales
Merge branch 'master' into mcquin/centos-locale-a
Update for :internal_locale detection
Merge pull request #2222 from opscode/mcquin/centos-locale-a

Better handling of locale -a output