Sync source and generated versions of the query parser.

The following manual changes to qquerytransformparser.cpp were not
reflected in the .ypp source, but they are now:
  c95a0e6e8eb8ba5fd2a4412b318ad998b3ccb4fc (Nov 2009)
  c1623a0d42c9869e5a1d04081e7660722a863de5 (Apr 2012)

The following change is lost because it modified code generated by
bison (not from .ypp) and needs to be re-applied:
  e7a51b138772cb453555d27f44e6a2c0e79e799c

Change-Id: I72e76732acd1c370394c9fc373522b43ace6e009
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Fix MSVC2010 warnings.

Change-Id: I081b4ebad362d99dcae594f877592f2a910002f3
(cherry picked from commit e7a51b138772cb453555d27f44e6a2c0e79e799c)
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>