WIP of statsd ingestion.  Does not save data to database.
Merge branch 'master' into http_bulk_ingest_aggregates
Add functionality to write metrics to the database.
log error properly (was missing stack traces)
gson parsed numbers need to be resolved to Double or Long instances prior to serialization.

Fixed those bugs and added tests to verify and look for regressions (we're relying on behavior of gson to determine long or double).
add a timer to measure performance.
annotation was breaking JDK 1.6
Merge branch 'master' into http_bulk_ingest_aggregates
Merge branch 'master' into http_bulk_ingest_aggregates
Fix broken import.
Merge branch 'master' into http_bulk_ingest_aggregates
Use the new sets
Merge branch 'master' into http_bulk_ingest_aggregates
adjustments to include `flushInterval` in data that is ingested.
Use flush interval to set number of samples.
log error on ingest.
properly handle bad JSON POSTs.
Add method to range to map coarser subrange to iterable of subranges in finer gran
Add test to SlotTest to test the new Range method
update a few todos.