Loader: push/pop the script context in resolve method
Loader: push/pop the script context in resolve method

Pushing/popping the context in the c'tor is wrong.
We need to do that on every call of the resolve method.

Change-Id: I24243399879627c710670225565097fa85a4691a
Reviewed-by: Christian Kandeler <3aa99dcdd3f0cac61fb81c2a11771c0cc2497607@digia.com>
Reviewed-by: Joerg Bornemann <47777b9406dbddd02a3fdca8341789a013805a11@digia.com>

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