Moved Queryset To Celery

To future speed up the export task, this moves retrieving the queryset out into utils to be called in the celery task rather.