Made documentation HTML-compliant

Removed obsolete README
Added MinGW to supported platforms to get compilation underway
Added code from XBMC's undocumented.h

Fixed a bunch of function signatures
XSleep now suspends the calling thread, instead of busy-waiting