compare_evemu: fix exception free(time)

I don´ t know why this worked before, but time should be initialized
for the last one to work.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
compare_evemu: appends EV_SYN(1) if the frame is not empty

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
testsuite: wait 1 sec before after calling xi2dettach

In some cases, xi2dettach does not sees the very first hid-replay devices.
Adding a timer to wait for it to be initialized.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>