uselocale() take two
setlocale() is MT-Unsafe so let's replace its usage with uselocale(). Much safer! The locale is changed only for the main thread. Secondary threads will still get the global locale, but so what.
cc-common-language will need to stop assuming it can get the current locale from the global locale rather than the thread-local locale, so have it get language from GisDriver instead of trying to get it out of accountsservice and then setlocale() if accountsservice doesn't have it.
Fixes #53 (closed)
Edited by Michael Catanzaro