QmlDesigner: Switch to text mode if there is no qmlpuppet

Task-number: QTCREATORBUG-9390
Change-Id: I57da8b8b21fd14fe7e264f134ffa1f68eb9e06ce
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>