Use urxvt's hookable osc sequence for undistract-me alike

This uses the perl hooks to capture an escape sequence, which then emits
the CommandDone event to wmii-perl. The result is something that works
over SSH. (However it won't work inside screen or tmux because they eat
the 777 OSC.)
Add some notify magics