Add --stats-every <secs> option.

Periodically displays and resets stats.
Useful for unattended operation.
Add stats for number of sample blocks processed and dropped.
Move the stats reset strictly after stats display, so the total message count is shown correctly.
Merge pull request #43 from mutability/more-stats

Add --stats-every option, add sample block counters