Fix the creation of EventSource

Fix the order of arguments to EventLog.CreateEventSource, and pass the right parameter to EventLog.SourceExists.