Added Gentoo support to locale
Fixed return for set_locale when os is Gentoo
Fixed return for get_locale if os is Gentoo
Merge pull request #3151 from shadowfax-chc/locale

Locale for Gentoo