enable use of flags, in particular --rerun
refactor: separate reading and checking the sequence
--run-once to exit after the first run

We need to catch a parser error here as MultiJson seems to be confused by the end of the stream.
Version 0.2

* --rerun flag to start from the beginning
* --run-once flag to exit after processing the current entries