Parameterize db helpers

@Naosyth Realized after you merged that we weren't parameterizing MetricDBHelper when we extended it, so we were getting BatteryDBHelper<T> rather than BatteryDBHelper<BatteryEntry> etc