Exploratory management command to find all amo files (bug 999125)

See https://docs.djangoproject.com/en/1.6/ref/models/querysets/#django.db.models.query.QuerySet.iterator and http://www.mellowmorning.com/2010/03/03/django-query-set-iterator-for-really-large-querysets/