win8 support for ddraw&dx8, implemented r3g3b2, r5g6b5 and x1r5g5b5 8/16 bit color formats for dx8 (untested), removed deprecated OSGetVersion() and replaced it by proper replacements, fixed crash-on-exit (caused by destructor of global palette object)