Fix tests for Qt5
Declare dyncontrol_ptr metatype to fix linking issue with Qt5
Don't declare InfoSystemCache* metatype to fix linking issue with Qt5
Add copyright headers