porting build to win32
Adding trimming functions to string util
Making the readall function return a tupple containing the data and the size so that it can be used to create a string when it's text.
trimming the end of config file so that we don't have \r characters