Add WikiFilePage::getForeignCategories() method

Unlike getCategories(), this will return the categories
on the wiki where the file is hosted (so it should work with Commons).

Bug: 56598
Change-Id: Ice972f023c676b5857707ccf58ee108585a7f021
Merge "Add WikiFilePage::getForeignCategories() method"