Initial work on qt4 compatibility.
Now qt4 version is fully functional.
Merge branch 'qt4-compatibility'
Evaluate javascript now can return more complex data structures.