i18n - return default locale when current language is not set

to avoid reinitialization in testsuite
Merge pull request #29 from lslezak/current_language_fix

i18n - return default locale when current language is not set
when calling scr or wfm set properly execution environment so log have proper location if agents use ycploging
use valid byte sequence