fix QtModule.qbs

This partly reverts 81b4fbd961ac38049b0ba4c4cbb38dca51738951.

Change-Id: Id1282f66c84f80f9dc0167e94d8d74751740b221
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
make toJSLiteral functions available in command line tools

Export toJSLiteral functions and move them out of the
Internal namespace.

Change-Id: I2ecf0e0a8dd7c095a3f24adb342a13fad2df2aa4
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
use toJSLiteral in setupQtProfile

Remove duplicated code to convert Qt datatypes to
JavaScript literals.

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