fix for homepage when folders are deleted and gifs are homeless
delete all gifs that belong to folder when a folder is deleted
Merge pull request #32 from janeeats/optimization

fix for homepage when folders are deleted and gifs are homeless