More Windows platform fixes for strftime.
qtscript: Remove warning message if getObject() fails to find label.
qtscript: Add debug window showing globals, triggers and labels.
qtscript: Add dynamic evaluation input box to debug GUI.
Reorganize some drawing functions to reduce size of public drawing API. Clean up window rendering.
Un-generalize iV_DrawImageRect() into iV_DrawImageRepeatX/Y().
Remove unused memory buffers and other unused code from interface display code.
Clean up design.cpp
Run astyle over design.cpp
Compile fix for Windows
Add support to the mac build for the new debug GUI for qtscript.

Refs. #3924.
Fix memory corruption bug due to dangling string pointer in video code.
Fix valgrind warnings.
Have MSVC generated the needed moc files for eb21e8e847480a1e4593cb31a8860d2587b67ce2