Retain references to workspace event handlers (see #10)

This avoids the possibility of handlers being collected before the
actual notification firing.

Thanks to crc@google.com for the patch