Add socket eventing for grid clicks

Generic event `grid click` for clicks on the grid. Sends target's DOM id
as data. Emitting client runs local toggle on the grid. Every other
connected client runs toggle after receiving the event.