moved temp_dir config option from global settings to new section transcoding settings
cleanup and format
added generic functions GetSystemInfo and GetSystemPath to replace specialized GetVersion, GetHostname, etc...