Made UNIX code compatible with Windows.

Additionally a Windows-only event log module was added. It works but could use a few configuration changes. Additionally the ${PROJECT_NAME} is added as metadata to messages rather than the user's project name. Ideally the user can specify the project name that shows up in syslog, event viewer, or a custom log file.