featured.py: decrease memory usage

Instead of looping over the list, remove each item when it
has been processed. This saves roughly 60% memory (at least
on dewiki)

Change-Id: Idb2666d0664cbbddd7dcb011a89dddd3dd7d8948
Merge "featured.py: decrease memory usage"