Migration to remove deleted tags from tasks

This is discussed in #1643, hope it's ok since I never wrote a migration before. 

@lefnire my main doubt is that lodash should be loaded but since in older migrations it was used without being required I thought maybe it wasn't necessary.