Add output handler for i3bar protocol and add some tests for it. Right now, it only support start and end. see #23