Automatically compile translations when building

This change adds a pre-build target that generates binary translation files (*.qm*) from translation sources (*.ts*). It will be automatically run on every build. No need to store binary translations in the source tree anymore and they will always correspond to translation sources.