Move event-specific data to event.details

All plugins must now store any event-specific details in the details property of
the event object.
Fix capture_trigger to return result of native trigger call