facilitate QTextStream for writing Qt.quick properties

This will simplify the next patch. Promise.

Change-Id: Ib9ade1e2df705d6d850b368706969d68644b62a8
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>