Autogen: Refactor Rerun tests
This refactors and simplifies the
- QtAutogen.RerunMocPlugin
- QtAutogen.RerunMocBasic
- QtAutogen.RerunRccConfigChange
- QtAutogen.RerunRccDepends
tests.
Repetitive task are packed into macros. By using version strings to store file timestamps, timestamp comparison becomes more reliable. Test status and error messages are improved.