Iteratively process bugtracker data instead of loading it all into memory

This lowers memory usage.  The "what attributes need deleting?" question
is pushed the database instead of iterating, in Perl, all queues with
bugtracker attributes.