add dedup_stories, import_only, and cache_broken_downloads options; optimize query_story_search import query