Record monitor connect/disconnect events.

Each time we receive an XEvent we diff the list of currently connected
monitors with the list of previously connected monitors. Any
differences are recorded using the event recorder API. It is possible
that there will be no differences to record because XEvents are sent
for more events than just monitor connects and disconnects.

[endlessm/eos-sdk#635]
this is very inefficient: you're creating a `GVariant` for each byte.

you should use `g_variant_new_fixed_array()` instead, e.g.:

    GVariant *edid_data = g_variant_new_fixed_array (G_VARIANT_TYPE ("ay"), raw_edid, edid_length, 1);

which will create a single `GVariant` with the EDID payload.