Implements Platform System Functions

Outlines all os_* functions in a general header and implements two of the functions for Win32

Tested on several games and does not appear to break anything and the functions appear to work perfectly.