Autogen: Generated moc_predefs.h only on demand
At the moment AUTOMOC
generates moc_predefs.h
on every build. It is sufficient to build it only once and rebuild it when the predefs command or a setting changes.
Also:
- Store only the hash of the Autogen settings for change detection.
- Variable and function renames in the Autogen parts