Created a backend system for the window-input management. So now it will be a los easier to port to another windows library/platform.
Since this is a big commit, it's probably that some bugs where introduced, but i tested all that i could, and it's working fine.
I'll probably add a cursor manager backend because right now there is no cursor management at all, i removed the CreateCursor function because it was unusable.
Added debug helper functions.
Fixed some skin state changes.
Improved UI performance.
Changed EE_PLATFORM_WIN32 for EE_PLATFORM_WIN, and added as platform WIN64.
Added detection of 64bits compilation.
Implemented some asserts.
Changed the name of the singleton template from cSingleton to tSingleton ( c is for class, and t for template, that's why i changed ).
Removed the using namespace std, and added std:: to the std methods and templates.
Added some API calls for windows dll.
Added SaveTypeToExtension and DirPathAddSlashAtEnd on utils.
It was added for the PBuffer class, but i'll not implement PBuffers on Mac OS X until i understand how Carbon and Cocoa works, and i don't have direct access to a Mac OS X ( only from a VM, and works slow as a cart ).
Changed the platform name from Apple to Mac OS X ( i don't even know what i was thinking when a put Apple as a Platform :P ).