Fix #370:  EventLogTarget source and log name case insensitive comparison

Added fix for #370: EventLogTarget source and log name should be treated as case insensitive.
Added test for writing to event log.