[ConfigModule] Re-use QML context and engine if any
In case the ConfigModule is created within a QML context, re-use it and its engine instead of creating a shared QML object that might use a different engine.
CCBUG: 388766
Differential Revision: https://phabricator.kde.org/D9784