Rewrite reindex command to parallelize indexing tasks (bug 1025301)

That reminds me we should still investigate https://bugzilla.mozilla.org/show_bug.cgi?id=948518 at some point... I bet that line takes a very long time blocking everything.