VC++11: Fixed compile errors, added solution/project file

Tested with Visual Studio 2012/VC++11 (XP target). Compiles with Qt 4.8.4/MingW v3.17 but haven't done any further testing with Qt.