Added the database_cleaner gem.

[#78038926]
MetricsLogger now uses VisitMetricsEntry.

[#78038926]
Added a migrator.

[#78038926]
Removed no longer used pieces, changed templates, adjusted CalculatedMetrics.
Removed references to redis from the app, as we're no longer using it for caching.

[#78038926]