Write hour logs from workers

Timeslices to be computed are now grouped by hour so that each worker
can write an hour log with all the detections for that hour.  I also
have added code that allows us to read data using either fread() or
through a memory map.  The latter remains the default.