Remove line checking from the read loop

I figure each line handler can do it's own parsing, perhaps using a
standard regex.
Bind event data into a rest arg
Add a doc string for trigger-event