Add transparency support for Windows and Mac OS X

This adds support for transparency in Windows Vista, 7 and 8 in addition to Leopard, Snow Leopard and Mountain Lion.   Ignore the test commits, my apologies, they don't change anything.