Fix compilation of test cases.
Handle resource layout on linux and add translation files to openscad.pro.