QmlDesigner: Add QML_PUPPET_MODE environment variable

Change-Id: I64f28821864128fce12935122516de2259f4bc49
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>