Added Winapi wrapper macro

Added a macro to the winlean module which helps generate additional procedures to facilitate string conversion when using the windows api. I also updated parts of the standard library to use the new procedures.