Process broken links in batches

This change should speed up the report generation by 10x. Documents are
loaded in batches and processed 100 at a time by 10 separate forked
processes.