add unit test to check language files for validity

this should help with applying pull requests that do come not from the
translation interface as it makes sure the files will be at least
syntactically correct.