Rearrange includes to improve compile times.

This also allows for memory leak checking on MSVC by having include
surrounding Qt headers, which break if you have a macro define new
to be something which tracks line information.
Basically, this is the easiest way to have lua_yajl.c compiled as C++ instead of C, which is required because I compile lua as C++ instead of C.