Attach MirInputDeviceId and the MirCookie to input events
Similar to the tracking of relative motion the cookie and input device ids of mir events are stored in the EventBuilder for later recovery (LP: #1536279, #1668692)
Approved by: Daniel d'Andrada, Unity8 CI Bot