[#318] Use config for setting locales…

…and ensure we set locale *after* config is fully loaded.
[#318] Lazy attempt at getting tests running

This might be horrendous… I’m not sure. Need to inspect in more detail.
Merge pull request #352 from andylolz/318-set-locale

[#318] Use config for setting locales…