Adds an optional trigger_id field to the internal event.

The `trigger_id` field is used by several internal actions. For example `action.send_ack` uses it as an actual Socket.IO acknowledgement and `action.send_event` may use it to pass a server ACK to the client.

This pull request slightly changes the semantics of the internal events and mentioned actions.