Adds latest event types from i3 IPC interface.

Also fixes my stupid whitespace removal.

Event types added:
    mode (2)
    window (3)

There is no get_mode function or get_window function in i3 IPC however,
so I added a little workaround in the Subscription class also.