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.
Fix crash in timestamp code.
Merge pull request #61 from ahmedcharles/timestamp_crash

Fix crash in timestamp code.
Merge pull request #51 from ahmedcharles/compile

Rearrange includes to improve compile times.
Separate flags between MSVC and GCC style.
Enable multiprocessor MSVC builds for qmake.
Use C++ for lua_yajl on MSVC.
Add defines for static compilation and C++ lua.
foo