Do aggregation in separate process
Move node aggregation from get_window to get_merged_window
Fix bug where oldest gauge sample was used rather than latest
Use dict:update/4 for inserting new samples
Add FIXME for supporting same key for different types of metrics