Updated GLUT in the CMakeLists.txt file in Examples to properly include GLUT.

Signed-off-by: Jonathan Boyle <JonBoyle87@gmail.com>
Moved some stuff over to wintime to make things more generic, and fixed some windows related errors.

Signed-off-by: Jonathan Boyle <jonboyle87@gmail.com>
Made changes to make compile with Visual Studio. Mostly moving variable declarations about. Had to change some of the CMake files to change compilation instructions.

Signed-off-by: Jonathan Boyle <jonboyle87@gmail.com>