Change TIssue createEvent()
In TIssue createEvent(), if a similar event is found (for machine_id, find event for same issue_code, source_code) and the event is remediated or closed with a timestamp that is after the detected timestamp, ignore the createEvent() request. This change is needed to handle non-real time detectors which can have a detected timestamp that is in the past from the current time. These non-real time detectors can detect an event which is subsequently remediated (closed). In this case, it's a mistake to create a new event.