gen.py: support text fragments with multiple fonts.
Factory test: added version.h and marked IFP non-removable.
Check firmware flavour during an update.
Make factory test build for Xplained Pro.