make aggregation of collect5 stats work

steal some CDTIME_T macros from collectd, and then implement support
for the new hires time and interval packets.

5.0 appears only to send the hires values, and 4 only sends the only TIME and INTERVAL types, so we don't need to be particularly clever about parsing stuff.