Add a data migration to trim excessive slugs

We introduced a limit on slug length in ca28979, however documents created before this time don't conform to this validation, which breaks the crawler due to the invalid file name size it creates (also, the URLs are way too long).

This data migration cleans up the old slugs for published editions by updating their slugs to the new maximum length and redirecting the old URLs to the new URLs.