libqtprofilesetup: Move module list generation into dedicated functions.
libqtprofilesetup: Move module list generation into dedicated functions.

Makes it easier to see what is actually going on in the createModules()
function.

Change-Id: I9a81140df4796084e9c2ff74c192b271ee5139eb
Reviewed-by: Joerg Bornemann <47777b9406dbddd02a3fdca8341789a013805a11@digia.com>

qtproject/qt-labs-qbs,qtproject/qt-labs-qbs,villytiger/qbs,qt-labs/qbs,qt-labs/qbs,qt-labs/qbs,qt-labs/qbs,gatzka/qt-labs-qbs,villytiger/qbs,gatzka/qt-labs-qbs,Distrotech/qbs,qt-labs/qbs,gatzka/qt-labs-qbs,villytiger/qbs,gatzka/qt-labs-qbs,qt-labs/qbs,Distrotech/qbs,gatzka/qt-labs-qbs,gatzka/qt-labs-qbs,Distrotech/qbs,qtproject/qt-labs-qbs,qt-labs/qbs,Distrotech/qbs,qtproject/qt-labs-qbs,gatzka/qt-labs-qbs,villytiger/qbs,qtproject/qt-labs-qbs,Distrotech/qbs,qtproject/qt-labs-qbs,qtproject/qt-labs-qbs,Distrotech/qbs,Distrotech/qbs,villytiger/qbs,villytiger/qbs