delete emptyView in template_collection after removing from tree

There is a small memory leak in the template collection view. arrayContentDidChange creates a new empty view every time if necessary. arrayContentWillChange removes this view, but doesn't destroy it.