ConnectionModelBackendDelegate refactoring to extract logic responsible
for generating scripts to a reusable backend component.
ScriptEditorBackend can be used in the property editor to handle script
creation in scripting components (such as ScriptAction or
StateChangeScript) and as a base for ConnectionModelBackendDelegate.
Task-number: QDS-10449
Change-Id: Ie83f413f42bc1134ebb866aa6e7ea9d6b37da49b
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>