Tidied up

Sorted why my Qt was bugging out and hence was able to clean up compiler
errors etc.
Global systems, logging window

Implemented simple logging window - lacking functionality at the moment
but will be developed into a console-style system. Application and its
plugins will be able to print messages to the log window and all
messages will be logged to files. The logging window can be enabled
currently by passing "-debug" on the command line. Also implemented some
global pointers for convenience - g_pCmdLine holds a pointer to the
global command-line parser created in main.cpp before the event loop is
started, and g_pLog holds a pointer to the logging window. Most logging
functions such as showing the log window will not work if -debug is not
passed.
Extended logging system

Added functionality for logging to files. "-log" on the command line
enables logging to files only (as opposed to "-debug" which enables both
the log window and logging to files). Log files are named
[date]_[time].log. LogMessage(QString) logs a message to the window/file
as appropriate, and LogWarning(QString) logs a warning message (preceded
by "WARNING" in log file, bold and red in log window).
Added GLEW 1.9.0

Included GLEW 1.9.0 with the sources in order to avoid having to
hard-code include paths etc. in the .pro files. It appears Qt ships with
a generally rubbish OpenGL library - the example applications don't
compile and there are undeclared identifier errors everywhere, so an
external library is required for OpenGL support.
Merge pull request #1 from x6herbius/workbench

Workbench