Install GammaRayMacros.cmake and provide the necessary variables for it.

Another step towards making external plugin development as convenient as
working on the internal ones.
Slightly improve Qt5 dependency search.