WIP: base the detection of whether the OPML import is finished in the presence or absence of related jobs in resque queues, instead of looking at database fields.

This will make this detection more robust in case a job is abruptly killed (e.g. because of an out of memory condition) without having the chance to update the database.