Source Cleanups and Organization GL 3.3 Ibex

Small optimizations like rendering the cursor as part of the desktop texture on the Mac and fixing a texture leak for the cursor. Cleaned up more code and organizing better for more features. Also fixed the cmake build for the Mac so the latest branhc builds. I’ve heard there are issues installing OpenCV on OSX 10.9 through brew. If you downgrade to the OS 10.8 SDK either by using xcode-select to choose it or by installing an older XCode you can probably get around this.

I’ve also started working on a nice new graphical feature that can be seen in the source checkins but I won’t mention it here just yet.