IMPLEMENTING - issue GDP-598: RFC Real Time Archive Builder 
https://internal.cida.usgs.gov/jira/browse/GDP-598

Tests for aggregation.
IMPLEMENTING - issue GDP-598: RFC Real Time Archive Builder 
https://internal.cida.usgs.gov/jira/browse/GDP-598

Added reaper to flush messages on shutdown.