Move `daily_hit_totals` to `MATERIALIZED VIEW`

* Before: each hourly refresh > 1min (with 768MB `work_mem`)
* After: each hourly refresh 4s and a lot less code

Conflicts:
	db/schema.rb
	lib/transition/import/daily_hit_totals.rb