Autogen: Improved dependency handling for the autogen target
Adds AUTOGEN
support for generated header, source and .qrc
files.
Also adds dependency forwarding of linked libraries to the AUTOGEN
target.
The AUTOGEN
tests are extended to test the new features.