Optimize and cleanup code by moving WebChannel.qml logic into C++.


By handling more logic on the C++ side, such as serializing the JSON
data to QByteArray, we can save up to 6% in the propertyUpdates
benchmark.

Furthermore, this allows for some more code cleanup and obsoletes the
WebChannel.qml file.

Also, it is a first step towards removing the QML dependency and
making it optional alltogether.

Change-Id: Id610b5f2652da4a7ad867aef576fabcc40d3d92c
Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
commitb6158dc3525c1c906d4040b2e88cd20feb21a2b2
parentf75499f5fa5605183d37ddcf1532f7a22e602f60
authorMilian Wolff <milian.wolff@kdab.com>
committerMilian Wolff <milian.wolff@kdab.com>
commit timeThu, 5 Dec 2013 16:23:13 +0100