Added support for exclusion filemasks in messages.json files, and fixed extraction of engine messages, broken after renaming the translation functions on the C++ side.