move index file generation into extra file PVE/ExtJSIndex.pm

And load locale files instead of including them into image.