improve performance of media source querying
remove relistemp check for dump_period_stories
Merge branch 'master' of github.com:berkmancenter/mediacloud
fix bug in lookup_medium_by_url that caused it not to find media