Implement consumer/producer for TmfTraceReader

Increase reading speed by using two threads, one for the producer and the other
for the consumer of events.

Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com>