Use FileRepo::findFiles() to avoid a bunch of queries

* Also track the redirect page usages themselves in the table (as is done for templatelinks)

Change-Id: I93e07f823d6252b1916be96792a1d973ab9170b2
Merge "Use FileRepo::findFiles() to avoid a bunch of queries"