Break cached stats migrations into dedicated generator

This allows existing implementations to add new migrations via a dedicated generator, making for a smooth upgrade path.
Merge pull request #717 from projecthydra/break_cached_stats_into_own_generator

Break cached stats migrations into dedicated generator