Implement video -> GIF conversion.

I will likely split vid2gif out into a library soon-ish so this can be
used on other meatspac-related sites, but this will do for now.